OverviewPlatformsAPI Reference
Groups

Create a group

Creates a keyword group. name must be unique in the workspace. externalId is optional and also unique. It is your own id, such as a client id, so you can find the group without storing ours. context is optional. It is a company description for this group, which the classifier reads instead of the workspace profile for the group's keywords. Then send the group's id as groupId when you create a keyword.


POST
/v1/groups

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from POST /v1/api-keys. Keys start with ref_.

In: header

Request Body

application/json

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/groups" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "externalId": "string",  "isDefault": true,  "context": "string",  "stats": {    "keywords": 0,    "active": 0  },  "createdAt": "string",  "updatedAt": "string"}
Was this page helpful?