Skip to main content
POST
/
api
/
v1
/
contacts
/
{id}
/
notes
Create Contact Note
curl --request POST \
  --url https://api.ravan.ai/api/v1/contacts/{id}/notes \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "content": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "content": "<string>",
    "created_at": "<string>"
  }
}

Authorizations

X-Api-Key
string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Path Parameters

id
string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

Body

content
string
required
The note or message content to save. Use plain text unless the endpoint states otherwise.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
data
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Contact ID

Body

application/json
content
string
required

Note content

Response

200 - application/json

Successful response

success
boolean
message
string
data
object