cURL
curl --request POST \ --url https://swiftchats.axis96.xyz/api/contact-groups \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "Lead 4" }'
{ "statusCode": 200, "id": "67b9e3ea-a73c-43a7-b0f2-203c429531c7", "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