Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Register Expo push token for the current user

POST/v1/devices/push-tokens
Authorization
sessionsessionrequired
Request body
requiredapplication/json
app_versionstring
platformstringrequired
Allowed:androidios
tokenstringrequired
Responses
204No Content
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/devices/push-tokens" \
  -H "Content-Type: application/json" \
  -d '{
  "app_version": "string",
  "platform": "android",
  "token": "string"
}'
Response
No Content