cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object