cURL
curl --request GET \ --url https://api.comm.com/api/v1/segments/{segment} \ --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>
The segment ID
SegmentResource
Show child attributes