Apps
Get a paginated list of apps.
x-pontive-instance-id<token>Instance ID for the request
type?stringFilter by app type
mode?stringFilter by app mode
status?stringFilter by app status
origin?stringFilter by who created the app: first_party, or a third-party client admitted by CIMD or DCR (pontive-spec 44 §15)
"first_party""cimd""dcr"page?integerPage number
limit?integerItems per page
sort?stringSort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, name, status. Default: -created_at
search?stringSearch query (name,issuer,description depending on implementation)
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/apps'{ "data": [ { "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Create a new application.
x-pontive-instance-id<token>Instance ID for the request
Create App Request
application/json- body
Create App Request
allowed_origins?array<string>AllowedOrigins seeds the app's web origins. Required for a regular app, which embeds the widget on its own page and is refused every origin it has not registered; left empty by an oauth app, which redirects to the hosted page and is admitted via its issuer. identity-svc enforces that rule — it is not repeated here, so there is one place to keep it correct.
builder_previews?array<>BuilderPreviews opts the app in to app builders' previews: preset names among lovable, v0, vercel, replit, bolt and codesandbox. A development instance only: any on a production instance is 422 builder_previews_not_allowed, and an unknown or repeated name 422 field_invalid_format (pontive-spec 06, Builder previews).
client_type?stringClientType defaults to public. Confidential is for a web app in oauth mode whose token calls run on its own server; it starts with no secret, which POST /apps/{app_id}/client-secrets generates.
"public""confidential"description?stringinitiate_login_uri?stringInitiateLoginURI is where a sign-in to the app begins. Optional, but a regular app cannot send invitations until it has one.
mode?string"regular""oauth"name*stringpost_logout_redirect_uris?array<string>PostLogoutRedirectUris is optional at creation for every app type. Left empty, logout falls back to redirect_uris and then to allowed_origins.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly; required for an oauth app. A development instance's app may register a wildcard for an app builder's changing preview hosts: https only, the * the whole leftmost host label and matching exactly one label (a.b.example.com does not match https://.example.com/cb), the rest of the host, the port, path and query exact, and never directly under a public suffix (https://.vercel.app/cb is refused, https://*.myproject.vercel.app/cb accepted). A malformed wildcard is 422 field_invalid_format; any wildcard on a production instance is 422 redirect_uri_wildcard_not_allowed (pontive-spec 06, Redirect URI wildcards).
signin_config?type*string"web""native""spa"Created
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apps' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "web"}'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}Get application details by ID.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
OK
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X GET 'https://api.us.pontive.com/v1/apps/string'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}Update an existing app.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
Update App Request
application/json- body
Update App Request
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews, when present, replaces the app's builder preview presets; an empty array turns them off, which any instance accepts. Any other value on a production instance is 422 builder_previews_not_allowed; an unknown or repeated name 422 field_invalid_format (pontive-spec 06, Builder previews).
client_type?stringClientType changes whether the app is a confidential client. Switching to public deletes its client secrets. Only a web app in oauth mode may be confidential.
"public""confidential"description?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
initiate_login_uri?stringInitiateLoginURI, when present, replaces the app's; the empty string clears it.
metadata?mfa_config?name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
org_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris, when non-nil, fully replaces the app's post-logout list; nil leaves it untouched, per this endpoint's partial-update convention. An empty array is therefore how an app clears the list and goes back to the fallbacks.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly; when present the list replaces the app's. A development instance's app may register a wildcard for an app builder's changing preview hosts: https only, the * the whole leftmost host label and matching exactly one label (a.b.example.com does not match https://.example.com/cb), the rest of the host, the port, path and query exact, and never directly under a public suffix (https://.vercel.app/cb is refused, https://*.myproject.vercel.app/cb accepted). A malformed wildcard is 422 field_invalid_format; any wildcard on a production instance is 422 redirect_uri_wildcard_not_allowed (pontive-spec 06, Redirect URI wildcards).
session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?token_config?OK
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X PATCH 'https://api.us.pontive.com/v1/apps/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}Delete an application. A third-party (CIMD or DCR) app, which is otherwise read-only, is hard-deleted with its consent grants and refresh tokens; the client is admitted again through the normal flow.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string'Renders an access-token claims template for a user, and optionally an organization they belong to, exactly as issuance would, without saving the template or issuing a token. Omit claims_template to preview the app's saved one. A template the save would refuse fails here with the same message.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
Template, user and optional organization
application/json- body
Template, user and optional organization
claims_template?ClaimsTemplate is the template to render, as it would be saved on token_config.access_token.claims_template. Omit it to preview the app's saved template.
organization_id?stringOrganizationID is an organization the user belongs to, to render the organization.* and membership.* fields; omit it for a token that acts in no organization.
user_id*stringUserID is the user to render for.
OK
application/json- response
claims?curl -X POST 'https://api.us.pontive.com/v1/apps/string/claims-template/preview' \ -H 'Content-Type: application/json' \ -d '{ "user_id": "string"}'{ "claims": { "property1": null, "property2": null }}A confidential app's client secrets that still authenticate (D19), newest first: preview, label, status, created and expiry, never the value, which only the create returns. Needs sys:app:secret.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
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/apps/string/client-secrets'{ "data": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Mint a client secret for a confidential app (a web app in oauth mode; D19); needs sys:app:secret. Creating the app mints none (D45). Its value is returned only in this response: only a hash is stored, and reads show a preview. Without expire_others_in the others are kept, and the create is refused (409 client_secret_limit_reached) while two that do not expire are held; with it, every other secret stops working that many seconds from now (0–604800; 0 at once), so a rotation is one call.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
Label and the others' expiry
application/json- body
Label and the others' expiry
expire_others_in?integerlabel?stringLabel is an optional label for the new secret.
Created
application/json- response
created_at?stringexpires_at?stringExpiresAt is set on the previous secret during a rotation: when it stops working.
id?stringlabel?stringlast_used_at?stringobject?stringpreview?stringsecret?stringstatus?string"active""rotating"curl -X POST 'https://api.us.pontive.com/v1/apps/string/client-secrets' \ -H 'Content-Type: application/json' \ -d '{}'{ "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "secret": "string", "status": "active"}Remove one of an app's client secrets (D8, D19). It stops working at once; deleting the last one leaves the app unable to authenticate until a new one is created.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
secret_id*stringClient secret ID
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/client-secrets/string'Deactivate an application.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
OK
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apps/string/deactivate'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}List the organizations an app admits. They take effect while the app's org_access mode is selected: users then sign in only through one of them, and sign up only by accepting an invitation into one.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
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/apps/string/organizations'{ "data": [ { "app_id": "string", "created_at": "string", "object": "string", "organization_id": "string", "organization_name": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Admit organizations to an app (at most 100 per call). Adding one already admitted is not an error; an unknown organization fails the whole call and nothing is added. The list is kept whatever the app's org_access mode.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
Organizations to admit
application/json- body
Organizations to admit
organization_ids*array<string>OrganizationIDs are the organizations to admit, at most 100. Adding one already admitted is not an error; an unknown one fails the whole call.
1 <= items <= 100OK
application/json- response
data?array<>object?stringcurl -X POST 'https://api.us.pontive.com/v1/apps/string/organizations' \ -H 'Content-Type: application/json' \ -d '{ "organization_ids": [ "string" ]}'{ "data": [ { "app_id": "string", "created_at": "string", "object": "string", "organization_id": "string", "organization_name": "string" } ], "object": "string"}Stop admitting an organization. Sessions already in it end at their next refresh while the app's org_access mode is selected. Removing one that is not admitted is not an error.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
organization_id*stringOrganization ID
No Content
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/organizations/string'Add a public JWK to a confidential app's inline keys, for private_key_jwt client authentication (RFC 7523). The body is the JWK itself, with its public members only: RSA 2048 bits or more, or EC P-256, with a kid. At most three; refused while the app has a jwks_uri (409 key_source_conflict), and for a public app (400 public_keys_require_confidential_app).
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
The public JWK
application/json- body
The public JWK
alg?string"RS256""PS256""ES256"crv?"P-256""P-256"e?stringkid*stringkty*string"RSA""EC"n?stringuse?stringx?stringy?stringCreated
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apps/string/public-keys' \ -H 'Content-Type: application/json' \ -d '{ "kid": "string", "kty": "RSA"}'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}Remove one of a confidential app's inline keys by kid. Assertions signed with it are refused from now on.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
key_id*stringKey ID
OK
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X DELETE 'https://api.us.pontive.com/v1/apps/string/public-keys/string'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}Reactivate a previously deactivated application.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
OK
application/json- response
allowed_scopes?array<string>authflow_bindings?AuthflowBindings, when non-nil, fully replaces the app's flow bindings (nil = leave untouched, per the app's partial-update convention). Only published flows are bindable; identity-svc validates each non-empty side.
builder_previews?array<>BuilderPreviews are the app builders whose previews the app signs in from, on a development instance only: preset names among lovable, v0, vercel, replit, bolt and codesandbox, sorted; empty when off. For an enabled builder, a preview origin (https://.lovableproject.com) may start the app's embedded sign-in and call the auth domain's browser endpoints, and an OAuth flow may use the hosted preview callback https://{auth domain}/oauth2/preview-callback?origin={the preview's origin} as its redirect_uri without registering it (pontive-spec 06, Builder previews). Always empty for a third-party client.
client_id_url?stringClientIDURL is a CIMD app's client ID metadata document URL, its client_id on the wire. Empty for every other app.
client_secrets?array<>ClientSecrets are a confidential app's secrets, as previews: the current one and, during a rotation, the previous one. Empty for a public app. The secret itself is shown once, when it is generated.
client_type?stringClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.
"public""confidential"consented_at?stringConsentedAt is when a third-party app first reached consent; null for one never consented to (removed after 24 hours) and for every first-party app. Only a consented client counts toward its origin's cap (44 §8).
created_at?stringdeactivated_at?stringdescription?stringdomain_id?stringemail_domain_access?EmailDomainAccess, when present, replaces which email domains may use the app.
id?stringinitiate_login_uri?stringInitiateLoginURI is where anyone but the app sends a person to begin signing in to it (OpenID Connect initiate_login_uri): the route that starts an authorization request for an oauth app, the page hosting the sign-in widget for a regular one. An invitee lands there once they have accepted, with organization_id and login_hint added. Empty when unset.
instance_id?stringissuer?stringjwks_uri?stringlast_used_at?stringmetadata?mfa_config?mode?string"regular""oauth"name?stringoauth_consent?OAuthConsent, when present, replaces the app's consent configuration (nil = unchanged). Only an oauth-mode app can require consent; identity-svc validates it.
object?stringorg_access?OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.
origin?stringOrigin is who created the app (pontive-spec 06, 44 §8): first_party for every app created through the API; cimd or dcr for a third-party client the auth domain admitted under the instance's third_party_clients setting. A third-party app is read-only except for deletion (third_party_app_read_only, 409).
"first_party""cimd""dcr"platform_config?post_logout_redirect_uris?array<string>PostLogoutRedirectUris is where a browser may be sent after RP-initiated logout. Empty is the ordinary case and does not mean logout has nowhere to land: the authorization server falls back to the app's redirect_uris, and then to its registered origins, so an app that registers neither still returns to itself.
public_keys?array<>PublicKeys are the inline keys a confidential app signs private_key_jwt assertions with; JWKSURI is where they are fetched from instead. At most one is set; a public app has neither.
redirect_uris?array<string>RedirectUris are the OAuth2 callbacks an authorization code may be sent to, matched exactly. On a development instance an entry may be a wildcard whose * is the whole leftmost host label, as in https://*.preview.example.com/callback, matching exactly one label (pontive-spec 06, Redirect URI wildcards).
security_posture?session_config?signin_config?Optional per-app configs. A non-nil config fully replaces that config on the app; nested platforms/sections left out are cleared.
signup_config?software_id?stringSoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.
software_version?stringstatus?string"active""deactivated"token_config?type?string"web""native""spa"updated_at?stringcurl -X POST 'https://api.us.pontive.com/v1/apps/string/reactivate'{ "allowed_scopes": [ "string" ], "authflow_bindings": { "signin": "string", "signup": "string" }, "builder_previews": [ "lovable" ], "client_id_url": "string", "client_secrets": [ { "created_at": "string", "expires_at": "string", "id": "string", "label": "string", "last_used_at": "string", "object": "string", "preview": "string", "status": "active" } ], "client_type": "public", "consented_at": "string", "created_at": "string", "deactivated_at": "string", "description": "string", "domain_id": "string", "email_domain_access": { "domains": [ "string" ], "mode": "none" }, "id": "string", "initiate_login_uri": "string", "instance_id": "string", "issuer": "string", "jwks_uri": "string", "last_used_at": "string", "metadata": { "property1": "string", "property2": "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 }, "mode": "regular", "name": "string", "oauth_consent": { "homepage_url": "string", "logo_url": "string", "privacy_policy_url": "string", "required": true, "scope_descriptions": { "property1": "string", "property2": "string" }, "terms_of_service_url": "string" }, "object": "string", "org_access": { "mode": "all" }, "origin": "first_party", "platform_config": { "android": { "attestation": { "allow_emulators": true, "cloud_project_number": "string", "enabled": true }, "package_names": [ "string" ], "security_level": "string", "sha256_fingerprints": [ "string" ] }, "ios": { "attestation": { "bypass_for_development": true, "enabled": true, "environment": "string" }, "bundle_ids": [ "string" ], "security_level": "string", "team_id": "string" }, "web": { "allowed_origins": [ "string" ], "proxy_paths": [ "string" ], "security_level": "string" } }, "post_logout_redirect_uris": [ "string" ], "public_keys": [ { "alg": "RS256", "created_at": "string", "crv": "P-256", "e": "string", "kid": "string", "kty": "RSA", "n": "string", "object": "string", "use": "string", "x": "string", "y": "string" } ], "redirect_uris": [ "string" ], "security_posture": { "details": [ { "description": "string", "platform": "web", "status": "info", "title": "string" } ], "security_level": "secure" }, "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 } } }, "software_id": "string", "software_version": "string", "status": "active", "token_config": { "access_token": { "claims_template": { "property1": null, "property2": null }, "lifetime_seconds": 0, "permissions_claim": { "exclude": [ "string" ], "include": [ "string" ] }, "roles_claim": { "exclude": [ "string" ], "include": [ "string" ] } }, "id_token": { "enabled": true, "lifetime_seconds": 0 }, "refresh_token": { "allow_offline": true, "delivery": { "http_only_cookie": { "enabled": true }, "response_body": true }, "enabled": true, "lifetime_seconds": 0, "reuse_detection": true, "rotation": true } }, "type": "web", "updated_at": "string"}The link bases the app's pages named that the app does not accept, most recently seen first — only those registering a proxy path would fix: on one of the app's allowed origins, with a valid path not accepted yet. A flow's emailed links land on the page's bare origin instead, which a proxy mounted under a path does not answer. Kept 30 days after last seen, at most 10.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
page?integerPage number
limit?integerItems per page, 1 to 100
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/apps/string/refused-proxy-bases'{ "data": [ { "base": "string", "count": 0, "first_seen_at": "string", "last_seen_at": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}Get computed security level for an app.
x-pontive-instance-id<token>Instance ID for the request
app_id*stringApp ID
OK
application/json- response
app_id?stringapp_mode?string"regular""oauth"blocking_issues?array<string>evaluated_at?stringobject?stringoverall_level?string"secure""unsecure""enhanced"platforms?production_ready?booleancurl -X GET 'https://api.us.pontive.com/v1/apps/string/security-level'{ "app_id": "string", "app_mode": "regular", "blocking_issues": [ "string" ], "evaluated_at": "string", "object": "string", "overall_level": "secure", "platforms": { "android": { "configured": true, "issues": [ "string" ], "level": "secure", "recommendations": [ "string" ] }, "ios": { "configured": true, "issues": [ "string" ], "level": "secure", "recommendations": [ "string" ] }, "web": { "configured": true, "issues": [ "string" ], "level": "secure", "recommendations": [ "string" ] } }, "production_ready": true}