Skip to Content
Docs
API referenceManagement API

Third-party clients

GET
/apps/settings

When third-party OAuth clients — clients identified by a client ID metadata document (CIMD) or registered dynamically (DCR), which the customer did not create — may connect, and the client profile every admitted one is held to. An instance that never changed it reads the defaults: everything off.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Response Body

OK

application/json
  1. response
agent_delegation_enabled?boolean

AgentDelegationEnabled is whether an agent may exchange a user's token, or a delegation grant, for a token acting for that user (pontive-spec 20 C2 profile (b)). Off by default.

allowlist?array<string>

Allowlist holds CIMD client_id URLs, exact or https://host/*. At most 100. Applies when cimd is allowlist.

cimd?string

CIMD is when a client identified by its client ID metadata document may start authorization: never, when its client_id URL matches the allowlist, or always once its document validates.

Value in"off""allowlist""open"
dcr?string

DCR is whether POST /oauth2/register accepts registrations from public clients.

Value in"off""on"
object?string
profile?
updated_at?string

UpdatedAt is omitted while the instance has never changed the setting.

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/settings'
Example Response
{  "agent_delegation_enabled": true,  "allowlist": [    "string"  ],  "cimd": "off",  "dcr": "off",  "object": "string",  "profile": {    "apis": [      {        "api_id": "string",        "scopes": [          "string"        ]      }    ],    "authflow_bindings": {      "signin": "string",      "signup": "string"    },    "mfa_config": {      "enabled": true,      "enforcement": "string",      "grace_period_days": 0,      "methods": {        "email": {          "enabled": true        },        "recovery_codes": {          "count": 0,          "enabled": true        },        "sms": {          "enabled": true        },        "totp": {          "enabled": true,          "issuer": "string"        }      },      "remember_device_days": 0    },    "offline_access": true,    "organizations": "none",    "refresh_token_ttl": 0,    "session_config": {      "absolute_lifetime_seconds": 0,      "idle_timeout_seconds": 0    },    "signin_config": {      "consents": [        {          "consent_id": "string",          "label": "string",          "required": true,          "url": "string",          "version": "string"        }      ],      "passkey": {        "authenticator_attachment": "string",        "auto_fill": true,        "conditional_create": true,        "enabled": true,        "local_enrollment": true,        "passkey_button": true,        "progressive_enrollment": true,        "user_verification": "string"      },      "password": {        "email": {          "enabled": true        },        "phone": {          "enabled": true        },        "username": {          "enabled": true        }      },      "passwordless": {        "email_otp": {          "enabled": true,          "expiration": 0        },        "magic_link": {          "enabled": true,          "expiration": 0        },        "phone_otp": {          "enabled": true,          "expiration": 0        }      }    },    "signup_config": {      "consents": [        {          "consent_id": "string",          "label": "string",          "required": true,          "url": "string",          "version": "string"        }      ],      "fields": {        "identifiers": {          "email": {            "enabled": true,            "required": true          },          "phone": {            "enabled": true,            "required": true          },          "username": {            "enabled": true,            "required": true          }        },        "profile": {          "date_of_birth": {            "enabled": true,            "required": true          },          "family_name": {            "enabled": true,            "required": true          },          "gender": {            "enabled": true,            "required": true          },          "given_name": {            "enabled": true,            "required": true          }        }      },      "verification": {        "email": {          "enabled": true,          "expiration": 0,          "method": "string"        },        "phone": {          "enabled": true,          "expiration": 0        }      }    }  },  "updated_at": "string"}
PATCH
/apps/settings

Change the admission policy (cimd, dcr, allowlist) or the client profile; an absent field is left as it is. The allowlist and profile.apis, when present, replace the stored list wholesale, and null empties it. An allow-list entry is an exact client_id URL or https://host/*, at most 100; a profile API must be an API of the instance with third_party on, and scopes null covers all of its scopes. The profile's authentication fields (authflow_bindings, signin_config, signup_config, mfa_config, session_config) take the app routes' shapes and are every third-party app's, read when its user signs in: a present one replaces the profile's wholesale, validated as the app routes validate it, and null unsets it so third-party apps keep their own default.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Header Parameters

If-Match?string

The ETag the document was read with: a stale one is refused 412 precondition_failed (D42)

Request Body

Update payload

application/json
  1. body

Update payload

agent_delegation_enabled?boolean

AgentDelegationEnabled, when present, turns agent delegation on or off.

allowlist?array<string>

Allowlist, when present, replaces the allow-list.

cimd?string
Value in"off""allowlist""open"
dcr?string
Value in"off""on"
profile?

Response Body

OK

application/json
  1. response
agent_delegation_enabled?boolean

AgentDelegationEnabled is whether an agent may exchange a user's token, or a delegation grant, for a token acting for that user (pontive-spec 20 C2 profile (b)). Off by default.

allowlist?array<string>

Allowlist holds CIMD client_id URLs, exact or https://host/*. At most 100. Applies when cimd is allowlist.

cimd?string

CIMD is when a client identified by its client ID metadata document may start authorization: never, when its client_id URL matches the allowlist, or always once its document validates.

Value in"off""allowlist""open"
dcr?string

DCR is whether POST /oauth2/register accepts registrations from public clients.

Value in"off""on"
object?string
profile?
updated_at?string

UpdatedAt is omitted while the instance has never changed the setting.

Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/apps/settings' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "agent_delegation_enabled": true,  "allowlist": [    "string"  ],  "cimd": "off",  "dcr": "off",  "object": "string",  "profile": {    "apis": [      {        "api_id": "string",        "scopes": [          "string"        ]      }    ],    "authflow_bindings": {      "signin": "string",      "signup": "string"    },    "mfa_config": {      "enabled": true,      "enforcement": "string",      "grace_period_days": 0,      "methods": {        "email": {          "enabled": true        },        "recovery_codes": {          "count": 0,          "enabled": true        },        "sms": {          "enabled": true        },        "totp": {          "enabled": true,          "issuer": "string"        }      },      "remember_device_days": 0    },    "offline_access": true,    "organizations": "none",    "refresh_token_ttl": 0,    "session_config": {      "absolute_lifetime_seconds": 0,      "idle_timeout_seconds": 0    },    "signin_config": {      "consents": [        {          "consent_id": "string",          "label": "string",          "required": true,          "url": "string",          "version": "string"        }      ],      "passkey": {        "authenticator_attachment": "string",        "auto_fill": true,        "conditional_create": true,        "enabled": true,        "local_enrollment": true,        "passkey_button": true,        "progressive_enrollment": true,        "user_verification": "string"      },      "password": {        "email": {          "enabled": true        },        "phone": {          "enabled": true        },        "username": {          "enabled": true        }      },      "passwordless": {        "email_otp": {          "enabled": true,          "expiration": 0        },        "magic_link": {          "enabled": true,          "expiration": 0        },        "phone_otp": {          "enabled": true,          "expiration": 0        }      }    },    "signup_config": {      "consents": [        {          "consent_id": "string",          "label": "string",          "required": true,          "url": "string",          "version": "string"        }      ],      "fields": {        "identifiers": {          "email": {            "enabled": true,            "required": true          },          "phone": {            "enabled": true,            "required": true          },          "username": {            "enabled": true,            "required": true          }        },        "profile": {          "date_of_birth": {            "enabled": true,            "required": true          },          "family_name": {            "enabled": true,            "required": true          },          "gender": {            "enabled": true,            "required": true          },          "given_name": {            "enabled": true,            "required": true          }        }      },      "verification": {        "email": {          "enabled": true,          "expiration": 0,          "method": "string"        },        "phone": {          "enabled": true,          "expiration": 0        }      }    }  },  "updated_at": "string"}
GET
/organizations/{organization}/client-policy

Which of the clients the instance admits may act in the organization (pontive-spec 20 G2). mode all admits every client the instance admits but those the block-list names; allowlist admits only the third-party apps the allow-list names. The block-list always wins, and governs agents too. The instance's third-party client setting is the ceiling: third_party_in_organizations false means its client profile gives third-party apps no organization context at all. An organization that never set its policy reads the default, with updated_at null. Needs sys:agent:read on the organization.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

organization*string

The organization's id, or its slug

Response Body

OK

application/json
  1. response
allowlist?array<string>

Allowlist and Blocklist hold entries: an app id (app_…), an agent id (agt_…), an exact CIMD client_id URL, or https://host/*. At most 100 each.

blocklist?array<string>
mode?string

Mode all admits every client the instance admits but those the block-list names; allowlist admits only the third-party apps the allow-list names (none when it is empty). The block-list always wins. Agents are governed by the block-list only: an installation is already the organization's approval of an agent.

Value in"all""allowlist"
object?string
organization_id?string
third_party_in_organizations?boolean

ThirdPartyInOrganizations is the instance's ceiling: false while its client profile gives third-party apps no organization context, so none acts in any organization whatever this policy says.

updated_at?string

UpdatedAt is null while the organization has never set its policy.

Example Request
curl -X GET 'https://api.us.pontive.com/v1/organizations/string/client-policy'
Example Response
{  "allowlist": [    "string"  ],  "blocklist": [    "string"  ],  "mode": "all",  "object": "string",  "organization_id": "string",  "third_party_in_organizations": true,  "updated_at": "string"}
PATCH
/organizations/{organization}/client-policy

Replace the organization's client policy whole (pontive-spec 20 G2). An entry is an app id (app_…), an agent id (agt_…), an exact CIMD client_id URL, or https://host/*, at most 100 per list. A blocked or not-allowed third-party app is refused when the organization is chosen at /authorize (an error page, never a redirect), when consent would be given for it, at code exchange and at refresh; a blocked agent's token exchange in the organization is refused. The organization can only narrow what the instance admits. Needs sys:agent:install on the organization.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

organization*string

The organization's id, or its slug

Header Parameters

If-Match?string

The ETag the document was read with: a stale one is refused 412 precondition_failed (D42)

Request Body

The policy

application/json
  1. body

The policy

allowlist?array<string>
blocklist?array<string>
mode?string

Mode is all (the default when empty) or allowlist.

Value in"all""allowlist"

Response Body

OK

application/json
  1. response
allowlist?array<string>

Allowlist and Blocklist hold entries: an app id (app_…), an agent id (agt_…), an exact CIMD client_id URL, or https://host/*. At most 100 each.

blocklist?array<string>
mode?string

Mode all admits every client the instance admits but those the block-list names; allowlist admits only the third-party apps the allow-list names (none when it is empty). The block-list always wins. Agents are governed by the block-list only: an installation is already the organization's approval of an agent.

Value in"all""allowlist"
object?string
organization_id?string
third_party_in_organizations?boolean

ThirdPartyInOrganizations is the instance's ceiling: false while its client profile gives third-party apps no organization context, so none acts in any organization whatever this policy says.

updated_at?string

UpdatedAt is null while the organization has never set its policy.

Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/organizations/string/client-policy' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "allowlist": [    "string"  ],  "blocklist": [    "string"  ],  "mode": "all",  "object": "string",  "organization_id": "string",  "third_party_in_organizations": true,  "updated_at": "string"}
GET
/organizations/{organization}/third-party-clients

The CIMD and DCR apps a member of the organization has consented to (pontive-spec 20 G2), the most recently consented first: how many members did, the organization's policy on each (allowed, blocked, not_allowed), and whether the instance still admits it. Needs sys:agent:read on the organization.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

organization*string

The organization's id, or its slug

Query Parameters

page?integer

Page number

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/organizations/string/third-party-clients'
Example Response
{  "data": [    {      "app_id": "string",      "client_id": "string",      "client_id_url": "string",      "instance_admitted": true,      "last_consented_at": "string",      "logo_url": "string",      "members": 0,      "name": "string",      "object": "string",      "origin": "cimd",      "status": "allowed"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
POST
/organizations/{organization}/third-party-clients/{app_id}/allow

Let a CIMD or DCR app act in the organization again (pontive-spec 20 G2): every block-list entry naming it exactly goes, and under allowlist mode its client_id joins the allow-list. 409 organization_client_blocked_by_pattern while an https://host/* entry on the block-list still names it: remove that entry with PUT /client-policy. Needs sys:agent:install on the organization.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

organization*string

The organization's id, or its slug

app_id*string

The third-party app's id (app_…)

Response Body

OK

application/json
  1. response
allowlist?array<string>

Allowlist and Blocklist hold entries: an app id (app_…), an agent id (agt_…), an exact CIMD client_id URL, or https://host/*. At most 100 each.

blocklist?array<string>
mode?string

Mode all admits every client the instance admits but those the block-list names; allowlist admits only the third-party apps the allow-list names (none when it is empty). The block-list always wins. Agents are governed by the block-list only: an installation is already the organization's approval of an agent.

Value in"all""allowlist"
object?string
organization_id?string
third_party_in_organizations?boolean

ThirdPartyInOrganizations is the instance's ceiling: false while its client profile gives third-party apps no organization context, so none acts in any organization whatever this policy says.

updated_at?string

UpdatedAt is null while the organization has never set its policy.

Example Request
curl -X POST 'https://api.us.pontive.com/v1/organizations/string/third-party-clients/string/allow'
Example Response
{  "allowlist": [    "string"  ],  "blocklist": [    "string"  ],  "mode": "all",  "object": "string",  "organization_id": "string",  "third_party_in_organizations": true,  "updated_at": "string"}
POST
/organizations/{organization}/third-party-clients/{app_id}/block

Block a CIMD or DCR app for the organization (pontive-spec 20 G2): its client_id — a CIMD app's URL, which outlives the app's cleanup, or a DCR app's id — joins the block-list and leaves the allow-list. Its users are refused in the organization from their next authorization, code exchange or refresh. 404 for an app that is not a third-party app. Needs sys:agent:install on the organization.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

organization*string

The organization's id, or its slug

app_id*string

The third-party app's id (app_…)

Response Body

OK

application/json
  1. response
allowlist?array<string>

Allowlist and Blocklist hold entries: an app id (app_…), an agent id (agt_…), an exact CIMD client_id URL, or https://host/*. At most 100 each.

blocklist?array<string>
mode?string

Mode all admits every client the instance admits but those the block-list names; allowlist admits only the third-party apps the allow-list names (none when it is empty). The block-list always wins. Agents are governed by the block-list only: an installation is already the organization's approval of an agent.

Value in"all""allowlist"
object?string
organization_id?string
third_party_in_organizations?boolean

ThirdPartyInOrganizations is the instance's ceiling: false while its client profile gives third-party apps no organization context, so none acts in any organization whatever this policy says.

updated_at?string

UpdatedAt is null while the organization has never set its policy.

Example Request
curl -X POST 'https://api.us.pontive.com/v1/organizations/string/third-party-clients/string/block'
Example Response
{  "allowlist": [    "string"  ],  "blocklist": [    "string"  ],  "mode": "all",  "object": "string",  "organization_id": "string",  "third_party_in_organizations": true,  "updated_at": "string"}