Flito docs
Analytics

Segment from an engagement piece

POST
/api/cap/analytics.engagement_segment

Save the people behind one piece of the engagement board as an email segment for broadcasts and campaigns: a live one that keeps taking in people who do it in the window (a fixed list for a session length, or for fixed dates the people of those dates). Same card and piece as analytics.engagement_people; the name is the piece's own unless given.

Required scopes: analytics:read, contacts:write. Runs at once.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*
idempotencyKey?string

Send the same key to retry safely: the second call returns the first result.

Lengthlength <= 255

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/analytics.engagement_segment' \  -H 'Content-Type: application/json' \  -d '{  "input": {    "card": "string"  }}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?