latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

mobile_push
expo

Fetch an Expo token

Fetches details of a specific Expo token belonging to the authenticated user. Returns information about the token's status, creation date, and any associated metadata. Users can only access their own tokens.

get/channels/mobile_push/expo/tokens/{token_id}

Path parameters

token_idstring required

Response

OK

created_atstring date-time required

The timestamp when the token was created.

device_tokenstring required

The Expo push token returned by the Expo client.

discarded_atstring date-time nullable

The timestamp when the token was discarded, if applicable.

idstring required

The unique identifier for the token.

updated_atstring date-time nullable

The timestamp when the token metadata last changed.

Example response

{
  "created_at": "2021-01-01T00:00:00Z",
  "device_token": "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]",
  "discarded_at": "2021-01-01T00:00:00Z",
  "id": "123",
  "updated_at": "2021-01-01T00:00:00Z"
}