GET
/
v1
/
segments
/
{segment}
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

segment
string<uuid>
required

The segment ID

Response

200
application/json

SegmentResource

The response is of type object.