Test building an authentication URL

This endpoint is used to simulate the process of building an authentication URL for a specific App Integration. It helps validate that the configured authentication settings (e.g., OAuth2 parameters, redirect URIs, scopes) generate a correct and functional URL for initiating the authentication flow.

Use this endpoint to verify the integration setup before enabling real authentication with third-party services.

Test building an authentication URL

post
Path parameters
appIntegrationIdstringRequired

The app integration id.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.

Example: YOUR_AUTH_KEY
Body
clientIdstring · min: 1Required

The client email of the app integration. This value is used for OAuth2 methods. For example, for Google OAuth2, this value is the email of the service account.

redirectURIstring · min: 1Required

The redirect URI of the app integration. After the user logs in, the user is redirected to this URI. This value is must be mapping with the application configuration on the OAuth2 provider.

scopestring · min: 1Required

The scope of the app integration.

statestring · nullableOptional

The state of the app integration.

Responses
chevron-right
200

The request was successful.

application/json

This provides interfaces for API responses with data.

successbooleanRead-onlyRequired

This is the flag to indicate whether the API call is successful or not.

statusCodeinteger · int32Read-onlyRequired

This is the HTTP status code. This is used to determine the status code to be returned to the client.

messagestring · min: 1Read-onlyRequired

This is the message to be displayed to the user.

datastring · nullableRead-onlyOptional

This is the data to be returned to the client.

post
/api/v1/app-integrations/{appIntegrationId}/authentication/test

Last updated