Get a token, check connectivity and read a list with curl.
This page is for version v2.
For other versions, use one of these documentation indexes:
- v1 (default): https://developers.outpave.com/v1/llms.txt
- v2: https://developers.outpave.com/v2/llms.txt
Set API_HOST to the API domain assigned to your integration and API_KEY to a key enabled for v2. These examples use jq to read the token.
2Check connectivity
GET /ping confirms that the token is valid, that its key still allows calls from your address, and which environment answered. It has no side effects and every enabled key can call it.
A platform key can add Account-Holder to confirm that it can act on that account holder.
3Read a list
With a platform key that holds accountHolders:read, list your account holders. Do not send Account-Holder on this call.
With a company key that holds cards:read, list the cards of your own account holder instead:
Next steps
- Send an
Idempotency-Key on every POST. See Idempotency.
- Handle errors by
code. See Errors.
- Subscribe to changes instead of polling. See Webhooks and events.