Skip to Content
Docs
API referenceManagement API

Shared credentials

List shared credentials

GET
/authn/connection-credentials

List the instance's shared OAuth provider credentials. Secrets are never returned; responses expose only *_set booleans. The list is unpaginated.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

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/authn/connection-credentials'
Example Response
{  "data": [    {      "config": {        "client_id": "string",        "client_secret_set": true      },      "created_at": "string",      "id": "string",      "instance_id": "string",      "name": "string",      "object": "string",      "provider_type": "google",      "updated_at": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Create shared credential

POST
/authn/connection-credentials

Create a project-level shared OAuth provider credential. The config is flat (the adapter's own fields directly under "config"), discriminated by provider_type. Secrets are accepted here but never returned.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Request Body

Create shared credential payload

application/json
  1. body

Create shared credential payload

config?||||||
name?string
provider_type*string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"

Response Body

Created

application/json
  1. response
config?||||||
created_at?string
id?string
instance_id?string
name?string
object?string
provider_type?string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/authn/connection-credentials' \  -H 'Content-Type: application/json' \  -d '{  "provider_type": "google"}'
Example Response
{  "config": {    "client_id": "string",    "client_secret_set": true  },  "created_at": "string",  "id": "string",  "instance_id": "string",  "name": "string",  "object": "string",  "provider_type": "google",  "updated_at": "string"}

Get shared credential

GET
/authn/connection-credentials/{credential_id}

Get a shared credential by id. Secrets are redacted; their presence is reported via *_set booleans.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

credential_id*string

Shared credential ID

Response Body

OK

application/json
  1. response
config?||||||
created_at?string
id?string
instance_id?string
name?string
object?string
provider_type?string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
updated_at?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/authn/connection-credentials/string'
Example Response
{  "config": {    "client_id": "string",    "client_secret_set": true  },  "created_at": "string",  "id": "string",  "instance_id": "string",  "name": "string",  "object": "string",  "provider_type": "google",  "updated_at": "string"}

Update shared credential

PATCH
/authn/connection-credentials/{credential_id}

Patch a shared credential by id. Omitted fields are unchanged; an omitted secret leaves the stored secret intact.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

credential_id*string

Shared credential ID

Request Body

Update payload

application/json
  1. body

Update payload

config?||||||
name?string

Response Body

OK

application/json
  1. response
config?||||||
created_at?string
id?string
instance_id?string
name?string
object?string
provider_type?string
Value in"google""github""microsoft""linkedin""apple""oidc""entra"
updated_at?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/authn/connection-credentials/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "config": {    "client_id": "string",    "client_secret_set": true  },  "created_at": "string",  "id": "string",  "instance_id": "string",  "name": "string",  "object": "string",  "provider_type": "google",  "updated_at": "string"}

Delete shared credential

DELETE
/authn/connection-credentials/{credential_id}

Delete a shared credential by id.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

credential_id*string

Shared credential ID

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/authn/connection-credentials/string'
Example Response
Empty