segments
Create a segment
Creates a new segment. The REST endpoint auto-generates a slug from name; pass slug explicitly only via the MCP tool.
post/tenants/{slug}/segments
Request
- Base URL: https://api.animam.ai
- URL: https://api.animam.ai/tenants/{slug}/segments
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
- OAuth 2 (authorization code, authorization URL https://api.animam.ai/oauth/authorize, token URL https://api.animam.ai/oauth/token, scopes: segments:write)
Path parameters
slugstring required
Tenant slug (URL-safe identifier).
Example:dr-martin
Request body
Response
Created segment.
Changes
No recorded changes to this operation across all 1 revision of this API.