The safest way to meet an API is with a key that cannot change anything. A mistake with a read-only key costs nothing. Terania's quickstart is built around that idea: make a read-only key, call the API, page through results, and only then think about writes. Ten minutes, no risk.
Start in the app. Sign in and open Administration, then API keys. Choose to make a key. Terania asks you to prove it is you again, which is expected: making keys is sensitive, so a fresh proof is required. Name the key for the system that will hold it, for example Quickstart read-only, using between one and eighty characters. A good name tells the next person what the key is for. A name like Test does not.
Leave customer read ticked, and tick case read too if you want to try cases. Pick the fewest scopes you need. That sentence will follow you through this whole series: fewest scopes, always. Leave expiry at ninety days, or choose anything from one to three hundred and sixty six. There is no key that never expires, so anything you build must handle renewal. Create the key and copy it at once. The screen says it will not be shown again, and nobody can recover it for you. Terania stores only a digest. Lose the key and you make a new one. Put it in your shell environment, never in a file you commit.
Every owner and admin gets a notice and a security email when a key is made. The email names the key and the person who made it, never the key itself. If you make a key and the team asks about the email, that is the system working. Key creation is visible by design.
List two customers. Send the key as a Bearer header on a request to the customers list with a limit of two. Keys in the query string are refused, so do not try to work around the header. The answer is a 200 with the customers array and a reach object, and the next cursor sits in the reach next field. When that field is null there are no more rows. The response also carries the API version and the rate limit headers, which you will meet properly in the limits article.
Learn the shape of a list now and every endpoint after reads easily. Pass the last cursor back as the after parameter with a limit between one and one hundred, fifty by default. A garbage or deleted cursor starts at the first page. Lists are not snapshots, so deduplicate by ID. The customers list returns active customers only, and the fields shown are a shortened sample: read what you get and do not assume more.
Then open a case, once. Writes need a key with write scopes, so make a second key with case creation and do not reuse the read-only one. Case, task and mission creates accept an idempotency key header of one to one hundred and twenty eight characters. Send the same key and body again and you get the stored record back, not a second case. Send only fields the endpoint knows: an unknown field answers 400 naming the field. The same key with a different body answers 409. A first send answers 201 and a replay answers 200. That pair of statuses is how you know the idempotency did its job.
Four things to look for in every answer. The status is 200 for a read and 201 for a first create. The response carries the API version. It carries the rate limit headers. And in Administration under API keys, the key shows a recent last used time, updated at most once a minute.
When it does not work, the errors tell you plainly. A 401 means the key is missing, wrong, revoked, expired, or its maker has left or been suspended, all answering the same on purpose. A 403 on a write means the key lacks the scope or the maker lost it. A 404 means the ID does not exist, belongs to another organisation or is refused, identical by design. A 400 means an unknown field or a body that is not an object. A 429 means wait for the retry seconds. Every error body carries an error, a code and usually a request ID. Quote the request ID if you ask for help.
Read first. Write second. That order never stops being right.



