Sign up
Login
Search...
/
Getting Started
Authentication
Idempotent Requests
Rate Limiting
Reference
POST
Send a message
Audiences
Audit Events
Auth Tokens
Automations
Brands
Bulk
Inbound
Lists
Messages
Notifications
Profiles
Templates
Tenants
Translations
Users
Preferences
Tenants
Tokens
PUT
Add multiple tokens to user
PUT
Add single token to user
PATCH
Update a token
GET
Get single token
GET
Get all tokens
DEL
Delete User Token
Sign up
Login
Reference
Users
Tokens
Get single token
GET
https://api.courier.com
/
users
/
:user_id
/
tokens
/
:token
Get single token available for a
:token
Path parameters
user_id
string
Required
The user's ID. This can be any uniquely identifiable string.
token
string
Required
The full token string.
Response
This endpoint returns an object.
provider_key
enum
Allowed values:
firebase-fcm
apn
expo
onesignal
device
object
Optional
Information about the device the token is associated with.
Show 6 properties
expiry_date
string or boolean
Optional
ISO 8601 formatted date the token expires. Defaults to 2 months. Set to false to disable expiration.
Show 2 variants
properties
any
Optional
Properties sent to the provider along with the token
status
enum
Optional
Allowed values:
active
unknown
failed
revoked
status_reason
string
Optional
The reason for the token status.
token
string
Optional
Full body of the token. Must match token in URL.
tracking
object
Optional
Information about the device the token is associated with.
Show 4 properties
Built with