POST
/
api
/
contacts
curl --request POST \
  --url https://swiftchats.axis96.xyz/api/contacts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "Jeffrey",
  "last_name": "Mwangi",
  "email": "[email protected]",
  "phone": "+254722562088"
}'
{
  "statusCode": 200,
  "id": "4febd07e-6097-45eb-9739-8ce7f4a51aa1",
  "message": "Request processed successfully"
}

Authorizations

Authorization
string
header
required

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

Body

application/json · object

Response

200 - application/json
OK

The response is of type object.