GET
/
api
/
v1
/
csp
/
apikey
List API Keys
curl --request GET \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/apikey \
  --header 'Authorization: Bearer <token>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "data": {
    "count": 1,
    "api_keys": [
      {
        "access": {
          "customers_read": true,
          "customers_write": true,
          "transactions_read": true,
          "transactions_write": true
        },
        "created_at": {
          "seconds": 1692260424
        },
        "description": "Api key for customer API access",
        "enabled": true,
        "name": "Customers Api Key (Enabled)",
        "partner_id": "part_cjes76vsemvj3obsnc30",
        "secret_key": "AB6DBC62DBA42EE52BC3928E772FBE3C",
        "token": "api_cjetgi7semvjct8hhqm0",
        "updated_at": {
          "seconds": 1692260453
        }
      }
    ]
  },
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-partner-id
string
default:""
required

The Partner ID header used for authorization

Query Parameters

names
string

Filter based on API Key names

Example:

"Customers"

api_keys
string

Filter based on API Key Secret keys

Example:

"36BFB7C90C7A1D3D4E09E2E2C05DDD3E"

enabled
boolean

Filter for only enabled or disabled API keys

Example:

true

limit
string

Set the limit for search results

Example:

"3"

page
string

Set the page offset

Example:

"1"

Response

200
application/json

Response containing list of API keys

Standard response structure for successful operations