Authentication and API keys
Sending your key
Every request carries your API key as a bearer token:
Code
There is no session, cookie or OAuth flow. The same header works for the REST API and for the MCP server.
Getting a key
Keys are issued by Tranztec as part of the partnership process. There is no self-service sign-up. To request one, or to add a key for a second system, contact [email protected] or use the contact form and name the company the key belongs to and the partners it needs to reach.
Each key belongs to exactly one company. If you integrate on behalf of several companies, you need one key per company.
What a key can see
A key never grants access on its own. On every partner-scoped route the gateway checks, in this order:
- The key is valid. Keys are validated at the edge and the result is cached for 60 seconds, so a revoked key can keep working for up to a minute.
- The company behind the key exists on the platform.
- The partner code in the path names an existing company.
- That company lists your company in its Partner Network with the relationship approved and API enabled.
Only then is the request forwarded. The Partner Network explains how relationships are created and approved.
Error responses
| Status | Body | Meaning |
|---|---|---|
401 | JSON problem, detail: "No Authorization Header" or "Authorization Failed" | The key is missing, malformed or not recognised. |
401 | Not authorized. (plain text) | The key is valid but its company no longer exists on the platform. |
401 | Not authorized to partner. (plain text) | The partner lists your company, but the relationship is not approved or not API-enabled. |
404 | Partner not found. (plain text) | No company has this partner code. Check the Code values from GET /v1/partners. |
400 | Error processing request. (plain text) | The partnership could not be evaluated. Today this is also the answer when the partner has no relationship with your company at all. |
The two 401 variants differ in content type: the gateway's own problem is application/json, the partnership checks answer text/plain. See the error catalog for every text the API returns.
Keeping keys safe
- Store the key in a secret manager or environment variable; never commit it to source control.
- Use one key per integrating system so a leak can be contained by revoking one key.
- Rotation is a support request today: ask for a new key, switch your system, then ask for the old key to be revoked.