Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Access Sessions

List Access Sessions

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
integration_idstring[] · nullableOptional
limitinteger · int32OptionalDefault: 100
page_tokenstring · nullableOptional
request_idsstring[] · nullableOptional
Responses
200

OK

application/json
get/api/user/v1/access-sessions
GET /api/user/v1/access-sessions HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "items": [
    {
      "id": "text",
      "name": "text",
      "request_ids": [
        "text"
      ],
      "integration": {
        "id": "text",
        "name": "text"
      },
      "credentials_status": "text",
      "can_reset_credentials": true
    }
  ],
  "pagination": {
    "next_page_token": "text"
  }
}

Get Access Session

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

OK

application/json
idstringRequired

Unique identifier of the access session

namestringRequired

A human-readable name for the session, often based on the resource or purpose

request_idsstring[]Required

List of request id's related to the access session

credentials_statusstringRequired

Credential status during the session. Possible values: AVAILABLE, VIEWED, RESETTING, NOT_APPLICABLE. If the access session does not rely on credentials (for example, a cloud provider session), the status will be NOT_APPLICABLE, but access details will still be available

can_reset_credentialsbooleanRequired

Indicates whether credentials used in this session can be reset. Applies only to sessions where credentials are applicable

get/api/user/v1/access-sessions/{id}
GET /api/user/v1/access-sessions/{id} HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "id": "text",
  "name": "text",
  "request_ids": [
    "text"
  ],
  "integration": {
    "id": "text",
    "name": "text"
  },
  "credentials_status": "text",
  "can_reset_credentials": true
}

Get Session Access Details

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

OK

application/json
instructionsstringRequired

User-facing text with step-by-step instructions for accessing the resource

custom_admin_messagestring · nullableOptional

An optional message provided by an admin. Often used for additional context, warnings, or escalation paths

clistring · nullableOptional

A command-line string the user can copy and execute to initiate access

get/api/user/v1/access-sessions/{id}/access-details
GET /api/user/v1/access-sessions/{id}/access-details HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "instructions": "text",
  "custom_admin_message": "text",
  "parameters": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  },
  "cli": "text",
  "link": {
    "url": "text",
    "title": "text"
  }
}

Reset Session Credentials

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

OK

application/json
messagestringRequired
post/api/user/v1/access-sessions/{id}/reset-credentials
POST /api/user/v1/access-sessions/{id}/reset-credentials HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "message": "text"
}

Last updated

Was this helpful?