Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.recotap.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /segments Returns all active and draft static segments for your team. Only static segments are exposed via the CRM API. Supports keyset-based pagination.
curl "http://eapi.recotap.com/api/v1/crm/segments?limit=100" \
  -H "X-Api-Key: your-api-key-here"
Query parameters
ParameterTypeDescription
limitintegerNumber of records to return. Default 100.
cursorstringKeyset cursor. Pass the nextCursor value from the previous response to fetch the next page.
Response data
{
  "data": [
    { "segmentId": "seg-001", "name": "Q2 Target Accounts", "status": "active" },
    { "segmentId": "seg-002", "name": "Draft Campaign List", "status": "draft" }
  ],
  "nextCursor": "seg-001",
  "hasNextPage": false
}
FieldDescription
nextCursorPass this value as cursor on the next request to fetch the next page.
hasNextPagetrue if more records exist beyond the current page.
Segment fields
FieldDescription
segmentIdRecotap’s segment ID. Pass this as segmentId when calling Create Accounts.
nameDisplay name of the segment
statusactive or draft