cURL
curl --request POST \ --url https://api.formo.so/v0/segments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "filterSets": [ "<string>" ] } '
{ "isSuccess": true, "data": { "id": "<string>", "title": "<string>", "projectId": "<string>", "filterSet": [ "<string>" ] } }
Workspace API key (e.g. formo_xxx). Create one in the Formo dashboard under Team Settings > API Keys.
formo_xxx
1
Segment created
Show child attributes