Create an outbound REST message
Create outbound rest message to authorize instance as authorization server.
Before you begin
Role required: oauth_admin
Procedure
-
Navigate to System Web Services > Outbound > REST Message and then click New.
-
Fill out the form fields for the OAuth application record as described in .
Note the following field values:
- Endpoint: URL of the instance that is the authorization server.
- Authentication type: OAuth 2.0.
- OAuth profile: OAuth profile that you created for the client server.
-
On the REST message record, click Get OAuth Token.
-
Authenticate with the instance that provides the token—the method depends on the single-sign on integration.
You might use:
-
Your username and password that you use to authenticate to the instance.
-
The username and password for the IdP if is enabled. Click Use External Login to access the IdP login screen.
Note: In order to automatically get redirected to the IdP login page, you must set the glide.authenticate.external system property.
-
Your code, if MFA is enabled.
-
-
Click Allow or Deny to complete the authorization and issue the tokens.
The process that follows is outlined in OAuth authorization code grant flow.
---
title: Create an outbound REST message
description: Create outbound rest message to authorize instance as authorization server.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/authentication/create-an-outbound-rest-message.html
release: australia
product: Authentication
classification: authentication
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [OAuth outbound, OAuth authentication, Authentication, Access Management]
---
# Create an outbound REST message
Create outbound rest message to authorize instance as authorization server.
## Before you begin
Role required: oauth\_admin
## Procedure
1. Navigate to **System Web Services** > **Outbound** > **REST Message** and then click **New**.
2. Fill out the form fields for the OAuth application record as described in .
Note the following field values:
- **Endpoint**: URL of the instance that is the authorization server.
- **Authentication type**: **OAuth 2.0**.
- **OAuth profile**: OAuth profile that you created for the client server.
3. On the REST message record, click **Get OAuth Token**.
4. Authenticate with the instance that provides the token—the method depends on the single-sign on integration.
You might use:
- Your username and password that you use to authenticate to the instance.
- The username and password for the IdP if is enabled. Click **Use External Login** to access the IdP login screen.
**Note:** In order to automatically get redirected to the IdP login page, you must set the glide.authenticate.external system property.
- Your code, if MFA is enabled.
5. Click **Allow** or **Deny** to complete the authorization and issue the tokens.
The process that follows is outlined in [OAuth authorization code grant flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-security/authentication/c_OAuthAuthorizationCodeFlow.md).
| title | Create an outbound REST message |
| description | Create outbound rest message to authorize instance as authorization server. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-security/authentication/create-an-outbound-rest-message.html |
| release | australia |
| product | Authentication |
| classification | authentication |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | OAuth outboundOAuth authenticationAuthenticationAccess Management |