Example request
POST https://api.jupiter-erp.com/api/account/contact-groups
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/contact-groups' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Request body
Optional
| Field | Type | Description |
|---|---|---|
| name* | string | — |
Example request
{
"name": "string"
}Responses
201Created
ModelContactGroup
| Field | Type | Description |
|---|---|---|
| contacts_count* | integer | Amount of contacts assigned to this group |
| id* | integer | Unique identifier for the group. |
| name* | string | Name of the group. |
Example response
{
"id": 0,
"name": "string",
"contacts_count": 0
}ContactGroups