Skip to main content
POST
/
api
/
contact-groups
curl --request POST \
  --url https://app.sentsays.com/api/contact-groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Lead"
}'
{
  "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

Body

application/json
name
string
required

Name of the contact group (required)

Minimum string length: 1
Example:

"Lead"

Response

Contact group created successfully

statusCode
integer
Example:

200

id
string<uuid>
Example:

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

message
string
Example:

"Request processed successfully"