Skip to main content
POST
Query published station data with GraphQL

Authorizations

Authorization
string
header
required

Station-scoped listener credential. Send Authorization: Bearer <token>, for example Bearer rtm_…. Sending the rtm_ token alone without Bearer returns 401 UNAUTHENTICATED. In the interactive playground, enter only the raw rtm_ token; the playground adds the prefix. Listener REST and GraphQL: listener:read. Listener devices: push:register.

Headers

X-Preview-Grant
string

Editorial preview grant from the station's website preview link. Send it to read the unpublished revision it was issued for; omit it for published data.

Path Parameters

stationSlug
string
required

Public station slug from the station settings; distinct from the internal station ID.

Body

application/json
query
string
required
operationName
string | null
variables
object | null
extensions
object

Response

GraphQL result

data
object | null
errors
object[]
extensions
object