Create Custom Service Endpoint

Create a tenant-scoped custom Descope outbound app.

Returns the app_id so the frontend can immediately kick off the connect flow (OAuth) or surface the API key form. Presets do not pass through this endpoint — their app ids come straight from GET /integrations/providers.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
customobjectRequired

Tenant-scoped custom integration spec.

The frontend owns slug derivation (live preview matches what’s stored). The backend treats slug as authoritative input and only validates its shape — it never re-derives. name is the free-form human label and is allowed to contain anything reasonable.

Response

Successful Response
app_idstring
namestring
slugstring
auth_methodenum
Authentication method supported by an integration.

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error