--- title: OAuth API request parameters description: Learn about the OAuth API request parameters that access token requests use. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/authentication/r\_OAuthAPIRequestParameters.html release: australia product: Authentication classification: authentication topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Create an endpoint for clients to access the instance, Old Inbound integrations experience, OAuth Inbound, OAuth authentication, Authentication, Access Management] --- # OAuth API request parameters Learn about the OAuth API request parameters that access token requests use. **Note:** The content-type of the OAuth API should be application/x-www-form-urlencoded. A content-type of application/json results in an unspecified error.
| Request parameter | Description |
|---|---|
| grant\_type | \[Required\] The type of credentials authorizing the request for an access token. This parameter must have one of the following values:- **password**: A set of user credentials to authorize the access token request. Specify the user credentials in the username and password parameters. - **refresh\_token**: An existing refresh token authorizes the access token request. Specify the refresh token in the refresh\_token parameter. |
| client\_id | \[Required\] Auto-generated unique ID of the client application requesting the access token. |
| client\_secret | \[Required\] Shared secret string that the instance and the OAuth application use to authorize communications with one another. |
| username | User account name that authorizes the access token request. This parameter is required for access token requests with a **grant\_type** of **password**. |
| password | Password for the user account that authorizes the access token request. This parameter is required for access token requests with a **grant\_type** of **password**. |
| refresh\_token | Existing refresh token that authorizes the access token request. This parameter is required for access token requests with a **grant\_type** of **refresh\_token**. |