Skip to Content
Docs
API referenceManagement API

Apps

List apps

GET
/apps

Get a paginated list of apps.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

type?string

Filter by app type

mode?string

Filter by app mode

status?string

Filter by app status

origin?string

Filter by who created the app: first_party, or a third-party client admitted by CIMD or DCR (pontive-spec 44 §15)

Value in"first_party""cimd""dcr"
page?integer

Page number

limit?integer

Items per page

sort?string

Sort field; prefix with - for descending (e.g. -created_at). Allowed: created_at, updated_at, name, status. Default: -created_at

search?string

Search query (name,issuer,description depending on implementation)

Response Body

OK

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

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

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps'
Example Response
{  "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 app

POST
/apps

Create a new application.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Request Body

Create App Request

application/json
  1. 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?string

ClientType 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.

Value in"public""confidential"
description?string
initiate_login_uri?string

InitiateLoginURI is where a sign-in to the app begins. Optional, but a regular app cannot send invitations until it has one.

mode?string
Value in"regular""oauth"
name*string
post_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
Value in"web""native""spa"

Response Body

Created

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "type": "web"}'
Example Response
{  "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 app details

GET
/apps/{app_id}

Get application details by ID.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Response Body

OK

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string'
Example Response
{  "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 app

PATCH
/apps/{app_id}

Update an existing app.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Request Body

Update App Request

application/json
  1. 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?string

ClientType 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.

Value in"public""confidential"
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

initiate_login_uri?string

InitiateLoginURI, when present, replaces the app's; the empty string clears it.

metadata?
mfa_config?
name?string
oauth_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?

Response Body

OK

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/apps/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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 app

DELETE
/apps/{app_id}

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string'
Example Response
Empty
POST
/apps/{app_id}/claims-template/preview

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Request Body

Template, user and optional organization

application/json
  1. 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?string

OrganizationID 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*string

UserID is the user to render for.

Response Body

OK

application/json
  1. response
claims?
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/claims-template/preview' \  -H 'Content-Type: application/json' \  -d '{  "user_id": "string"}'
Example Response
{  "claims": {    "property1": null,    "property2": null  }}
GET
/apps/{app_id}/client-secrets

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Query Parameters

page?integer

Page number

limit?integer

Items per page

Response Body

OK

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

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

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/client-secrets'
Example Response
{  "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  }}

Create app client secret

POST
/apps/{app_id}/client-secrets

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Request Body

Label and the others' expiry

application/json
  1. body

Label and the others' expiry

expire_others_in?integer
label?string

Label is an optional label for the new secret.

Response Body

Created

application/json
  1. response
created_at?string
expires_at?string

ExpiresAt is set on the previous secret during a rotation: when it stops working.

id?string
label?string
last_used_at?string
object?string
preview?string
secret?string
status?string
Value in"active""rotating"
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/client-secrets' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "created_at": "string",  "expires_at": "string",  "id": "string",  "label": "string",  "last_used_at": "string",  "object": "string",  "preview": "string",  "secret": "string",  "status": "active"}

Delete app client secret

DELETE
/apps/{app_id}/client-secrets/{secret_id}

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

secret_id*string

Client secret ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/client-secrets/string'
Example Response
Empty

Deactivate app

POST
/apps/{app_id}/deactivate

Deactivate an application.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Response Body

OK

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/deactivate'
Example Response
{  "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 app organizations

GET
/apps/{app_id}/organizations

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Query Parameters

page?integer

Page number

limit?integer

Items per page

Response Body

OK

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

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

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/organizations'
Example Response
{  "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  }}

Add app organizations

POST
/apps/{app_id}/organizations

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Request Body

Organizations to admit

application/json
  1. 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.

Items1 <= items <= 100

Response Body

OK

application/json
  1. response
data?array<>
object?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/organizations' \  -H 'Content-Type: application/json' \  -d '{  "organization_ids": [    "string"  ]}'
Example Response
{  "data": [    {      "app_id": "string",      "created_at": "string",      "object": "string",      "organization_id": "string",      "organization_name": "string"    }  ],  "object": "string"}
DELETE
/apps/{app_id}/organizations/{organization_id}

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

organization_id*string

Organization ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/organizations/string'
Example Response
Empty

Add an app public key

POST
/apps/{app_id}/public-keys

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).

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Request Body

The public JWK

application/json
  1. body

The public JWK

alg?string
Value in"RS256""PS256""ES256"
crv?"P-256"
Value in"P-256"
e?string
kid*string
kty*string
Value in"RSA""EC"
n?string
use?string
x?string
y?string

Response Body

Created

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/public-keys' \  -H 'Content-Type: application/json' \  -d '{  "kid": "string",  "kty": "RSA"}'
Example Response
{  "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 an app public key

DELETE
/apps/{app_id}/public-keys/{key_id}

Remove one of a confidential app's inline keys by kid. Assertions signed with it are refused from now on.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

key_id*string

Key ID

Response Body

OK

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/apps/string/public-keys/string'
Example Response
{  "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 app

POST
/apps/{app_id}/reactivate

Reactivate a previously deactivated application.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Response Body

OK

application/json
  1. 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?string

ClientIDURL 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?string

ClientType is whether the app authenticates at the token endpoint with a client secret. Only a web app in oauth mode may be confidential.

Value in"public""confidential"
consented_at?string

ConsentedAt 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?string
deactivated_at?string
description?string
domain_id?string
email_domain_access?

EmailDomainAccess, when present, replaces which email domains may use the app.

id?string
initiate_login_uri?string

InitiateLoginURI 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?string
issuer?string
jwks_uri?string
last_used_at?string
metadata?
mfa_config?
mode?string
Value in"regular""oauth"
name?string
oauth_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?string
org_access?

OrgAccess, when present, replaces the app's organization access policy. The organizations themselves are managed under /apps/{app_id}/organizations.

origin?string

Origin 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).

Value in"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?string

SoftwareID and SoftwareVersion are what a DCR client said it is (RFC 7591 §2), for display only. Empty otherwise.

software_version?string
status?string
Value in"active""deactivated"
token_config?
type?string
Value in"web""native""spa"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/apps/string/reactivate'
Example Response
{  "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 refused proxy bases

GET
/apps/{app_id}/refused-proxy-bases

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.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Query Parameters

page?integer

Page number

limit?integer

Items per page, 1 to 100

Response Body

OK

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

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

Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/refused-proxy-bases'
Example Response
{  "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 app security level

GET
/apps/{app_id}/security-level

Get computed security level for an app.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

app_id*string

App ID

Response Body

OK

application/json
  1. response
app_id?string
app_mode?string
Value in"regular""oauth"
blocking_issues?array<string>
evaluated_at?string
object?string
overall_level?string
Value in"secure""unsecure""enhanced"
platforms?
production_ready?boolean
Example Request
curl -X GET 'https://api.us.pontive.com/v1/apps/string/security-level'
Example Response
{  "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}