1
Create a key
In Eloout, open Settings → API keys and create a key:
- Key name: the system that will use it, for example
ERP sync. - Permissions: for this guide,
opportunities:readis enough. Grant only what your system needs; see Authentication.
2
Load it into an environment variable
Paste the key at the prompt; it is not echoed and does not reach your shell history:In production, inject it from your secret manager instead. Keep the key out of your code.
3
Check the key
GET /me needs no permission and tells you which organization and permissions the key has:4
Read your opportunities
data.opportunities. When there are more,
data.nextCursor is not null: pass it as ?cursor= to get the next page.If something fails
See Errors and rate limits for every code.
Next steps
- Browse every endpoint in the API reference.
- Before retrying a write, read Retrying writes: it explains what
Idempotency-Keyreplays and why you check the resource after a500or a timeout.