Segments
Partial update segment by external ID
Changed onPartially updates an existing segment. Only provided fields will be updated.
Scopes Required: [segments:Write]
Default Rate Limit: 100 requests per second
patch/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:write
Path parameters
externalIdstring required
External ID of the segment
Request body
Example request
{
"name": "Loyalty Gold Members Updated",
"description": "Updated description"
}Response
Segment updated successfully
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