API Reference/Management/Third Party Apps
POST
/v1/mgmt/thirdparty/app/create

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
namestring
descriptionstring
logostring
loginPageUrlstring
approvedCallbackUrlsarray<string>
permissionsScopesarray<object>
attributesScopesarray<object>
consentFlowIdstring
curl -X POST "https://api.descope.com/v1/mgmt/thirdparty/app/create" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -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"
        ]
      }
    ],
    "consentFlowId": "string"
  }'

OK

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

Was this helpful?