Create segment
Persist a named segment: a dynamic filter, or a static list (optionally seeded with records). Caches the member count.
Required scopes: contacts:write. Runs at once.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/segment.create' \ -H 'Content-Type: application/json' \ -d '{ "input": { "name": "string", "objectType": "contact" }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Segment block catalog POST
The related records a segment of this object type can filter on as one block (deals, quotes, products bought, events, brand records), with the fields of each. Required scopes: contacts:read. Read only.
Delete segment POST
Delete a saved segment. Refused while a sequence, automation or unfinished campaign still targets it. Required scopes: contacts:write. Runs at once.