Skip to main content
GET
/
accounts
/
{accountId}
/
organizations
/
{organizationId}
/
cardholders
List card holders
curl --request GET \
  --url https://api.opencard.io/api/v1/application/accounts/{accountId}/organizations/{organizationId}/cardholders \
  --header 'Authorization: Bearer <token>'
{
  "current_page": 1,
  "data": [
    {
      "id": 15,
      "reference_id": "employee_john_42",
      "organization_id": 3,
      "meta": {
        "signed": false,
        "pdpc_url": "https://sandbox-api.opencard.io/accounts/1/pdpcs/8/sign/abc...",
        "email_delivered": true
      }
    }
  ],
  "per_page": 15,
  "total": 1,
  "last_page": 1
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

accountId
integer
required

Your account ID

organizationId
integer
required

Organization ID

Response

200 - application/json

Card holders