OAuth tokens

Instances offer an OAuth 2.0 token generation API for client applications to access instance data on behalf of a user account. The API accepts HTTP POST messages to the access token endpoint URL and returns a JSON response containing the access token.

Access token request format

You can use the OAuth 2.0 API to construct an access token request.
  • Endpoint URL: <instance-name>.service-now.com/oauth_token.do
  • Request format: All requests should formatted as a URL-encoded HTTP POST body.
  • Request parameters: Most request parameters are required.
  • Response format: JSON
  • Response parameters: The response contains one or more OAuth tokens.