Request token
Changed onRequest an OAuth access token with Basic Auth or an assertion. When making a request with an assertion, do not provide the Basic Auth header. See also OAuth 2.0 in the Airship API Security documentation.
Use oauth2.asnapius.com for Airship's North American cloud site and oauth2.asnapieu.com for Airship's European cloud site when requesting an OAuth token.
Request
- Base URLhttps://go.urbanairship.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
The request must have a Content-Type of application/x-www-form-urlencoded.
Request body application/x-www-form-urlencoded
Response
Returned on token request success.
Changes
- breaking
removed
subschema #1: Request token with Basic Authsubschema #2: Request token with assertionfrom the request bodyoneOflist - warning
added the new
jnyenum value to theresponse property for the response status - warning
added the new
rptenum value to theresponse property for the response status - warning
added the new
tplenum value to theresponse property for the response status
This list may be incomplete.
- breaking