SmartGare
API referenceEndpoints

Which carriers hold running authorizations, and which lines they cover

One entry per carrier holding at least one authorization running on the date — not revoked, not lapsed — whatever the carrier's own status: a pending or suspended carrier is answered too. Each entry names those authorizations, including any covering no line, and the distinct lines they cover on the date. Ordered by carrier id, each list sorted. **Required permission:** `referential.authorization:read`

GET/referential/v1/carrier-coverage

One entry per carrier holding at least one authorization running on the date — not revoked, not lapsed — whatever the carrier's own status: a pending or suspended carrier is answered too. Each entry names those authorizations, including any covering no line, and the distinct lines they cover on the date. Ordered by carrier id, each list sorted.

Required permission: referential.authorization:read

AuthorizationBearer <token>

In: header

Query Parameters

carrier_id?string

Only this carrier's coverage; every carrier's when omitted.

on?string

The date to answer as of, ISO format; the station's today when omitted.

Formatdate

Response Body

*/*

curl -X GET "https://example.com/referential/v1/carrier-coverage"
{  "data": [    {      "authorization_ids": [        "string"      ],      "carrier_id": "string",      "line_ids": [        "string"      ]    }  ]}