SMAO API Documentation
Public APIGroups

Create a group

POST
/groups

Authorization

bearerAuth
AuthorizationBearer <token>

API key in the Authorization: Bearer <key> header. Keys are created in the SMAO dashboard (Settings → API Keys).

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/groups" \  -H "Content-Type: application/json" \  -d '{    "type": "contacts",    "name": "Priority Customers"  }'
{  "data": {    "id": "string",    "type": "contacts",    "name": "string",    "description": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }}