Skip to main content
POST
/
api
/
contacts
curl --request POST \ --url https://app.sentsays.com/api/contacts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "first_name": "Jennifer", "last_name": "Hudson", "phone": "+919856784357", "email": "[email protected]" } '
{
  "statusCode": 200,
  "id": "fd3f92b5-340c-4259-a189-896a38b885d7",
  "message": "Request processed successfully"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API key in the Authorization header: Authorization: Bearer YOUR_API_KEY

Body

application/json
first_name
string
required

First name of the contact (required)

Example:

"Jennifer"

phone
string
required

Phone number of the contact (required)

Example:

"+919856784357"

last_name
string

Last name of the contact

Example:

"Hudson"

email
string<email>

Email address of the contact

Response

Contact created successfully

statusCode
integer
Example:

200

id
string<uuid>
Example:

"fd3f92b5-340c-4259-a189-896a38b885d7"

message
string
Example:

"Request processed successfully"