Third-party clients
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.
x-pontive-instance-id<token>Instance ID for the request
OK
application/json- response
agent_delegation_enabled?booleanAgentDelegationEnabled 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?stringCIMD 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.
"off""allowlist""open"dcr?stringDCR is whether POST /oauth2/register accepts registrations from public clients.
"off""on"object?stringprofile?updated_at?stringUpdatedAt is omitted while the instance has never changed the setting.
curl -X GET 'https://api.us.pontive.com/v1/apps/settings'{ "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"}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.
x-pontive-instance-id<token>Instance ID for the request
If-Match?stringThe ETag the document was read with: a stale one is refused 412 precondition_failed (D42)
Update payload
application/json- body
Update payload
agent_delegation_enabled?booleanAgentDelegationEnabled, when present, turns agent delegation on or off.
allowlist?array<string>Allowlist, when present, replaces the allow-list.
cimd?string"off""allowlist""open"dcr?string"off""on"profile?OK
application/json- response
agent_delegation_enabled?booleanAgentDelegationEnabled 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?stringCIMD 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.
"off""allowlist""open"dcr?stringDCR is whether POST /oauth2/register accepts registrations from public clients.
"off""on"object?stringprofile?updated_at?stringUpdatedAt is omitted while the instance has never changed the setting.
curl -X PATCH 'https://api.us.pontive.com/v1/apps/settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "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"}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.
x-pontive-instance-id<token>Instance ID for the request
organization*stringThe organization's id, or its slug
OK
application/json- 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?stringMode 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.
"all""allowlist"object?stringorganization_id?stringthird_party_in_organizations?booleanThirdPartyInOrganizations 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?stringUpdatedAt is null while the organization has never set its policy.
curl -X GET 'https://api.us.pontive.com/v1/organizations/string/client-policy'{ "allowlist": [ "string" ], "blocklist": [ "string" ], "mode": "all", "object": "string", "organization_id": "string", "third_party_in_organizations": true, "updated_at": "string"}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.
x-pontive-instance-id<token>Instance ID for the request
organization*stringThe organization's id, or its slug
If-Match?stringThe ETag the document was read with: a stale one is refused 412 precondition_failed (D42)
The policy
application/json- body
The policy
allowlist?array<string>blocklist?array<string>mode?stringMode is all (the default when empty) or allowlist.
"all""allowlist"OK
application/json- 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?stringMode 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.
"all""allowlist"object?stringorganization_id?stringthird_party_in_organizations?booleanThirdPartyInOrganizations 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?stringUpdatedAt is null while the organization has never set its policy.
curl -X PATCH 'https://api.us.pontive.com/v1/organizations/string/client-policy' \ -H 'Content-Type: application/json' \ -d '{}'{ "allowlist": [ "string" ], "blocklist": [ "string" ], "mode": "all", "object": "string", "organization_id": "string", "third_party_in_organizations": true, "updated_at": "string"}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.
x-pontive-instance-id<token>Instance ID for the request
organization*stringThe organization's id, or its slug
page?integerPage number
limit?integerItems per page
OK
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/organizations/string/third-party-clients'{ "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 }}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.
x-pontive-instance-id<token>Instance ID for the request
organization*stringThe organization's id, or its slug
app_id*stringThe third-party app's id (app_…)
OK
application/json- 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?stringMode 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.
"all""allowlist"object?stringorganization_id?stringthird_party_in_organizations?booleanThirdPartyInOrganizations 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?stringUpdatedAt is null while the organization has never set its policy.
curl -X POST 'https://api.us.pontive.com/v1/organizations/string/third-party-clients/string/allow'{ "allowlist": [ "string" ], "blocklist": [ "string" ], "mode": "all", "object": "string", "organization_id": "string", "third_party_in_organizations": true, "updated_at": "string"}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.
x-pontive-instance-id<token>Instance ID for the request
organization*stringThe organization's id, or its slug
app_id*stringThe third-party app's id (app_…)
OK
application/json- 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?stringMode 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.
"all""allowlist"object?stringorganization_id?stringthird_party_in_organizations?booleanThirdPartyInOrganizations 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?stringUpdatedAt is null while the organization has never set its policy.
curl -X POST 'https://api.us.pontive.com/v1/organizations/string/third-party-clients/string/block'{ "allowlist": [ "string" ], "blocklist": [ "string" ], "mode": "all", "object": "string", "organization_id": "string", "third_party_in_organizations": true, "updated_at": "string"}