PUT
/
api
/
contacts
/
{uuid}
curl --request PUT \
  --url https://swiftchats.axis96.xyz/api/contacts/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Marvin",
  "last_name": "Osumba",
  "email": "[email protected]",
  "phone": "+254725578277"
}'
{
  "statusCode": 200,
  "id": "945d8b4f-a580-4743-bdfa-f0095059b37a",
  "message": "Request processed successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Path Parameters

id
string
required

Body

application/json ยท object

Response

200 - application/json
OK

The response is of type object.