Your API key. Create one in Ocoya. Authorization: Bearer <key> works too.
Create a contact group
Creates a group. A group of that name, in any case, is returned as it is.
Create a contact group
curl --request POST \
--url https://www.app.ocoya.com/api/_public/v1/contacts/groups \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"name": "Customers"
}
'{
"id": "<string>",
"name": "<string>"
}Was this page helpful?