GET
/
users
/
{userId}
/
apikeys
List user's API keys
curl --request GET \
  --url https://api.paygentic.io/v0/users/{userId}/apikeys \
  --header 'Authorization: Bearer <token>'
{
  "apiKeys": [
    {
      "key": "<string>",
      "principals": [
        {
          "id": "<string>",
          "organizationId": "<string>"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

userId
string
required

The unique identifier of the user

Response

200
application/json

List of user's API keys

The response is of type object.