POST
/v1/mgmt/outbound/app/create/bytemplateAuthorization
Descope Project ID and Management Key AuthorizationBearer <token>
Project ID:Management Key as bearer token.
In: header
Request Body
application/json
clientId?string
clientSecret?string
tenantId?string
id?string
overrides?object
Create a new outbound application by existing template using a valid management key.
curl -X POST "https://api.descope.com/v1/mgmt/outbound/app/create/bytemplate" \ -H "Content-Type: application/json" \ -d '{}'{ "app": { "id": "string", "name": "string", "description": "string", "clientId": "string", "logo": "string", "discoveryUrl": "string", "authorizationUrl": "string", "authorizationUrlParams": [ { "key": "string", "value": "string" } ], "tokenUrl": "string", "tokenUrlParams": [ { "key": "string", "value": "string" } ], "revocationUrl": "string", "defaultScopes": [ "string" ], "defaultRedirectUrl": "string", "callbackDomain": "string", "pkce": true, "accessType": "offline", "prompt": [ "none" ], "clientSecret": "string", "appType": "oauth", "useDcr": true, "dcrUrl": "string", "tenantId": "string", "tokenEndpointAuthMethod": "client_secret", "tokenEndpointAuthSigningAlg": "RS256", "useNonce": true }}export interface Response {app?: OutboundApp}export interface OutboundApp {id: stringname: stringdescription?: stringclientId?: stringlogo?: stringdiscoveryUrl?: stringauthorizationUrl?: stringauthorizationUrlParams?: {key: stringvalue: string}[]tokenUrl?: stringtokenUrlParams?: {key: stringvalue: string}[]revocationUrl?: stringdefaultScopes?: string[]defaultRedirectUrl?: stringcallbackDomain?: stringpkce?: booleanaccessType?: ("offline" | "online" | "")prompt?: ("none" | "login" | "consent" | "select_account" | "")[]clientSecret?: stringappType?: ("oauth" | "apikey" | "")useDcr?: booleandcrUrl?: stringtenantId?: string/** * Token endpoint client authentication method. Empty or "client_secret" sends clientSecret as the client secret; "private_key_jwt" signs an RFC 7523 client assertion with the project signing key published in the project JWKS. Omitted on update keeps the stored value. */tokenEndpointAuthMethod?: ("client_secret" | "private_key_jwt" | "")/** * Client assertion signing algorithm used with private_key_jwt. Empty means RS256. Ignored unless tokenEndpointAuthMethod is private_key_jwt. Omitted on update keeps the stored value. */tokenEndpointAuthSigningAlg?: ("RS256" | "RS512" | "")/** * Send a nonce on the authorization request and require the token response to carry an id_token with the same nonce. Omitted on update keeps the stored value. */useNonce?: boolean} Was this helpful?