Skip to main content
GET
/
api-keys
List your API keys
curl --request GET \
  --url https://api-sandbox.ledgersyncappv2.com/v3/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "15a81d54-0471-4f3c-9c1f-2f0a0c7b8d31",
      "prefix": "sk_test_a89d15d0",
      "scopes": [],
      "created_at": "2023-11-07T05:31:56Z",
      "last_used_at": "2023-11-07T05:31:56Z",
      "revoked_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Pass your secret key in the Authorization header as a Bearer token: Authorization: Bearer sk_test_... (sandbox) or Bearer sk_live_... (production).

Keys are created in the developer portal and the plaintext secret is shown exactly once at creation. Treat them like passwords — never embed them in mobile apps or front-end code.

Query Parameters

environment
enum<string>

Limit results to sandbox keys or live keys.

Available options:
sandbox,
live

Response

A page of API keys (no secrets).

data
object[]
required