Device Tokens
Add single token to user
Changed onRegisters one device token for a user against a provider key, overwriting the token if it already exists. Push sends resolve tokens per user.
put/users/{user_id}/tokens/{token}
Request
- Base URLhttps://api.courier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
user_idstring required
The user's ID. This can be any uniquely identifiable string.
tokenstring required
The full token string.
Request body
Changes
- warning
removed the request property
- warning
- breaking
the request property
became not nullable - breaking
the request property
became required
- breaking