cURL
curl --request GET \ --url https://api.comm.com/api/v1/segments \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "<string>", "type": "<string>", "name": "<string>", "query": "<string>", "is_active": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
numbers
emails
Array of SegmentResource
SegmentResource
The response is of type object.
object