Skip to main content
PUT
/
api
/
contacts
/
{uuid}
Update Contact
curl --request PUT \
  --url https://app.sentsays.com/api/contacts/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Jennifer",
  "last_name": "Hudson",
  "phone": "+919856784357",
  "email": "jennifer@gmail.com"
}'
{
  "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

Path Parameters

uuid
string<uuid>
required

UUID of the contact to update

Example:

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

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

Example:

"jennifer@gmail.com"

Response

Contact updated successfully

statusCode
integer
Example:

200

id
string<uuid>
Example:

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

message
string
Example:

"Request processed successfully"

I