Skip to Content
Docs
API referenceManagement API

Access keys

List access keys

GET
/access-keys

List access keys with filtering and pagination.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

service_account_id?string

Filter by service account id (svc_…)

confidentiality?string

Filter by confidentiality (secret|publishable)

status?string

Filter by status (active|revoked)

sort?string

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

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/access-keys'
Example Response
{  "data": [    {      "confidentiality": "secret",      "created_at": "string",      "description": "string",      "expires_at": "string",      "id": "string",      "instance_id": "string",      "key_preview": "string",      "last_used_at": "string",      "metadata": {        "property1": "string",        "property2": "string"      },      "name": "string",      "object": "string",      "revealable": true,      "service_account_id": "string",      "status": "active",      "updated_at": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Create access key

POST
/access-keys

Mint an access key bound to a service account. The credential value is returned only here (and later via reveal for revealable keys).

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Request Body

Create access key payload

application/json
  1. body

Create access key payload

confidentiality*string
Value in"secret""publishable"
description?string
expires_at?string
metadata?
name*string
revealable?boolean
service_account_id*string

Response Body

Created

application/json
  1. response
confidentiality?string
Value in"secret""publishable"
created_at?string
description?string
expires_at?string
id?string
instance_id?string
key?string
key_preview?string
last_used_at?string
metadata?
name?string
object?string
revealable?boolean
service_account_id?string
status?string
Value in"active""revoked""deleted""expired"
updated_at?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/access-keys' \  -H 'Content-Type: application/json' \  -d '{  "confidentiality": "secret",  "name": "string",  "service_account_id": "string"}'
Example Response
{  "confidentiality": "secret",  "created_at": "string",  "description": "string",  "expires_at": "string",  "id": "string",  "instance_id": "string",  "key": "string",  "key_preview": "string",  "last_used_at": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "name": "string",  "object": "string",  "revealable": true,  "service_account_id": "string",  "status": "active",  "updated_at": "string"}

Get access key

GET
/access-keys/{access_key_id}

Get an access key by ID.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

access_key_id*string

Access Key ID

Response Body

OK

application/json
  1. response
confidentiality?string
Value in"secret""publishable"
created_at?string
description?string
expires_at?string
id?string
instance_id?string
key_preview?string
last_used_at?string
metadata?
name?string
object?string
revealable?boolean
service_account_id?string
status?string
Value in"active""revoked""deleted""expired"
updated_at?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/access-keys/string'
Example Response
{  "confidentiality": "secret",  "created_at": "string",  "description": "string",  "expires_at": "string",  "id": "string",  "instance_id": "string",  "key_preview": "string",  "last_used_at": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "name": "string",  "object": "string",  "revealable": true,  "service_account_id": "string",  "status": "active",  "updated_at": "string"}

Update access key

PATCH
/access-keys/{access_key_id}

Update mutable fields (name, description, metadata).

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

access_key_id*string

Access Key ID

Request Body

Update payload

application/json
  1. body

Update payload

description?string
metadata?
name?string

Response Body

OK

application/json
  1. response
confidentiality?string
Value in"secret""publishable"
created_at?string
description?string
expires_at?string
id?string
instance_id?string
key_preview?string
last_used_at?string
metadata?
name?string
object?string
revealable?boolean
service_account_id?string
status?string
Value in"active""revoked""deleted""expired"
updated_at?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/access-keys/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "confidentiality": "secret",  "created_at": "string",  "description": "string",  "expires_at": "string",  "id": "string",  "instance_id": "string",  "key_preview": "string",  "last_used_at": "string",  "metadata": {    "property1": "string",    "property2": "string"  },  "name": "string",  "object": "string",  "revealable": true,  "service_account_id": "string",  "status": "active",  "updated_at": "string"}

Reveal access key

GET
/access-keys/{access_key_id}/key

Return the full plaintext credential value; only for a key minted revealable.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

access_key_id*string

Access Key ID

Response Body

OK

application/json
  1. response
key?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/access-keys/string/key'
Example Response
{  "key": "string"}

Revoke access key

POST
/access-keys/{access_key_id}/revoke

Revoke an access key immediately and irreversibly.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

access_key_id*string

Access Key ID

Response Body

No Content

Example Request
curl -X POST 'https://api.us.pontive.com/v1/access-keys/string/revoke'
Example Response
Empty