API reference
List agent keys
GET
/v1/agent-payments/agents/{agentId}/keysAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Response Body
application/json
curl -X GET "https://example.com/v1/agent-payments/agents/{agentId}/keys"{
"data": [
{
"id": "string",
"name": "string",
"key_prefix": "string",
"last_used_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"revoked_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z"
}
]
}Empty
How is this guide?
Last updated