API ReferenceManagementThird Party Apps
POST
/v1/mgmt/thirdparty/app/create

Create a new third party application, using a valid management key.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/thirdparty/app/create

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

namestring

descriptionstring

logostring

loginPageUrlstring

approvedCallbackUrlsarray<string>

permissionsScopesarray<object>

attributesScopesarray<object>

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/app/create" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "name": "string",
  "description": "string",
  "logo": "string",
  "loginPageUrl": "string",
  "approvedCallbackUrls": [
    "string"
  ],
  "permissionsScopes": [
    {
      "name": "string",
      "description": "string",
      "optional": true,
      "values": [
        "string"
      ]
    }
  ],
  "attributesScopes": [
    {
      "name": "string",
      "description": "string",
      "optional": true,
      "values": [
        "string"
      ]
    }
  ]
}'

{
  "id": "string",
  "cleartext": "string"
}

Was this helpful?