---
sourceDocument: Australia API Reference
sourceDocumentLink: https://www.servicenow.com/docs/r/api-reference

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Enable OAuth with inbound REST

# Enable OAuth with inbound REST {#ariaid-title1}

* Release version: Australia
* 
* Updated May 11, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Using OAuth, you can pass a user ID and password once, and then use a token for
subsequent REST requests instead of submitting credentials with each request.

## Before you begin

The OAuth 2.0 plugin (com.snc.platform.security.oauth.is.active) must be active. For
activation instructions, see [Activate a plugin](https://www.servicenow.com/docs/access?context=t_ActivateAPlugin&version=australia&pubname=australia-platform-administration&ft:locale=en-US).

Role required: admin

## About this task

OAuth reduces the number of times you submit
user credentials. After authenticating once, you use a token for subsequent REST
requests.{#t_EnableOAuthWithREST__t_EnableOAuthWithREST-context-1}

## Procedure

1. Set the com.snc.platform.security.oauth.is.active system property to <kbd class="ph userinput">true</kbd>.
2. Navigate to System OAuthApplication Registry.
3. Select New, then select Create an OAuth API endpoint for external clients.
4. Record the client_id and client_secret values to use when requesting an access token.  
   Note:  
   This example uses the password grant type. You can also configure an OAuth API endpoint using other grant types. For more information, see [OAuth Inbound](https://www.servicenow.com/docs/access?context=oauth-inbound&version=australia&pubname=australia-platform-security&ft:locale=en-US).
5. Use a REST client, such as cURL or Postman, to send a POST request to the OAuth endpoint (`oauth_token.do`).  
   Format the request as a URL-encoded HTTP POST body and include the required parameters.
6. Record the access token and refresh token from the response.
7. Submit the access token with subsequent REST requests.
* **[REST OAuth example](https://www.servicenow.com/docs/j8gLH1iU5QrgUarb0kjTxg)**   
  This example shows how to authenticate an inbound REST request using OAuth.

*[\>]: and then


