Skip to main content
PUT
/
api
/
v1
/
entity-groups
/
{id}
/
entities
Add entities to a group
curl --request PUT \
  --url https://api.mentionlab.io/api/v1/entity-groups/{id}/entities \
  --header 'Content-Type: application/json' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "entityIds": [
    "550e8400-e29b-41d4-a716-446655440000",
    "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  ]
}
'

Headers

x-project-id
string
required

Project ID to specify the project context

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the entity group to add entities to.

Body

application/json
entityIds
array[]
required

Entity IDs to assign to this group

Example:
[
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]

Response

Entities were added to the group.