Segments
Create new segment
Changed onCreates a new empty segment with the specified name and optional description.
Scopes Required: [segments:Write]
Default Rate Limit: 100 requests per second
post/v2/segments
Request
- Base URLhttps://api.attentivemobile.com
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://ui-devel.attentivemobile.com/integrations/oauth-install?client_id={clientId}&redirect_uri={redirectUri}&scope={scope}Token URL: https://api.attentivemobile.com/v1/authorization-codes/tokens scopes: segments:write
Request body
Example request
{
"name": "Loyalty Gold Members",
"description": "Customers with gold loyalty status",
"externalId": "SEG_abc123def456"
}Response
Segment created successfully
Example response
{
"externalId": "loyalty_gold_2025",
"name": "Loyalty Gold Members",
"description": "Customers with gold loyalty status"
}Changes
- info
endpoint added
- info