Skip to main content
POST
/
segmentation
/
accounts-in-segment
Get accounts in segment
curl --request POST \
  --url https://api.goterminal.xyz/segmentation/accounts-in-segment \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "segment_id": "<string>"
}
'
{
  "account_ids": [
    "<string>"
  ]
}

Headers

X-Api-Key
string
required

API Key

Body

application/json

Get Accounts In Segment Request

segment_id
string
required

Response

OK

account_ids
string[]