Update a group
Rename a group, change your id for it (`externalId`, null clears) or its company description (`context`, null clears: the workspace profile applies again; new mentions are judged with it at once, old ones are not rescored). The default group can be renamed like any other but takes no description: it is the workspace itself and reads the company profile.
API key minted via POST /v1/api-keys (format mk_live_...)
In: header
Path Parameters
Group id (grp_...).
1 <= lengthThe group's name: a customer, a campaign, a product. Unique per workspace.
1 <= length <= 80Replaces your id for the group; null clears it.
1 <= length <= 128Replaces the group's company description; null clears it (the workspace profile applies again). New mentions are judged with it at once; old ones are not rescored. Not on the default group (400 default_group_context): that one is the workspace itself and reads the profile.
length <= 4000Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://api.mentio.dev/v1/groups/grp_abc123" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"name": "string",
"externalId": "string",
"isDefault": true,
"context": "string",
"stats": {
"keywords": 0,
"active": 0
},
"createdAt": "string",
"updatedAt": "string"
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}{
"error": {
"code": "unauthorized",
"message": "string",
"requestId": "string",
"retryAfterSeconds": 0
}
}List groups GET
The keyword groups of the workspace, the default group first, then oldest first. A group is how keywords are grouped (a customer, a campaign, a product): a term may be tracked once per group, every keyword belongs to one, and GET /v1/usage/breakdown?by=group says what each group cost. Pass `externalId` to find the group carrying your own id.
Invite a member POST
Send an email invitation to join the workspace as admin or member; it expires after 48 hours. Idempotent: an address that already holds an open invitation gets it back with 200 and no second email. An address that is already a member is a 409 already_member. Team changes need a signed-in owner or admin (an OAuth token from an MCP sign-in, or the dashboard session): an API key answers 403.