Skip to main content

Sending your first API call

1

Set a permission group

Define which vaults and operations the API key can access. See Permission groups.
2

Create an API key

Generate a key assigned to the permission group. See API keys.
3

Sign your requests

Sensitive endpoints require an Ed25519 signature in addition to the API key. See Signing requests.
4

Send your first API call

Include your API key in the Api-Access-Key header on every request. Optionally include Api-Signature with Api-Timestamp for added security and on sensitive endpoints.
curl -X GET \
  'https://api.anchorage.com/v2/apikey' \
  -H 'Api-Access-Key: <YOUR_API_KEY>>' \
  -H 'Api-Signature: <YOUR_API_SIGNATURE>' \
  -H 'Api-Timestamp: <SOME_TIMESTAMP>'

What next

Authentication

Learn how API keys and permission groups work together.

Request signing

Learn how requests are signed and attached to headers.

Errors and pagination

Learn how to handle response codes, rate limits, and cursor pagination.

API Reference

Learn how to use our API from the OpenAPI specifications.