Segments
Get segment by external ID
Changed onRetrieves segment details by external ID.
Scopes Required: [segments:Read OR segments:Write]
Default Rate Limit: 100 requests per second
get/v2/segments/external/{externalId}
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:read
Path parameters
externalIdstring required
External ID of the segment
Response
Segment details
Example response
{
"externalId": "loyalty_gold_2025",
"name": "Loyalty Gold Members",
"description": "Customers with gold loyalty status",
"created": "2025-01-30T12:00:00Z",
"updated": "2025-01-30T12:00:00Z"
}Changes
- info
endpoint added
- info