PelekaPeleka Developers
API ReferenceAudienceSegments

Add specific contacts to a static segment

POST
/api/v1/segments/{id}/contacts
X-API-Key<token>

In: header

Path Parameters

id*string

Segment UUID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/segments/string/contacts" \  -H "Content-Type: application/json" \  -d '{    "contactIds": [      "550e8400-e29b-41d4-a716-446655440000"    ]  }'
{  "data": {    "added": 3  }}