Authentication
All Platform API requests require an API key. The API key identifies your organization and grants access to the partners, flows, and results within it.
API Keys
API keys are managed from the API Keys page in the application. Each key belongs to your organization and has a name for your reference.
To create a key:
- Open the API Keys page
- Click Add API Key
- Enter a name (for example “Production” or “Staging”)
- Choose a scope: Standard or Read-only
- Click Submit
The key is displayed only at creation time. Copy it immediately and store it securely: it is never shown again, and the list that follows carries the key’s name, scope, and creator, never the key itself. If you lose one, delete it and create another.
You can create multiple API keys for different environments or integrations.
Key Scope
The list shows each key’s scope, and the endpoint pages say which scope they need.
Scope is set when the key is created and cannot be changed afterwards. To change it, create a new key and delete the old one.
- standard: reaches your whole organization and can read, send, resend and receive documents.
- read_only: reads everything a standard key reads, including your partners and configuration, the X12 reference and the inspector. Can’t change anything. Any request other than
GETorHEADunder/platform/is refused with403 forbidden. - sandbox: issued automatically when you set up a sandbox webhook sink, and scoped to that sandbox traffic. Organization-wide endpoints reject it with
403 forbidden: the feed, the EDI transactions list and detail, the logs endpoint, and resend. Outside its sink it can reach onlyGET /platform/whoami, below, andPOST /platform/suggestions.
Making Requests
Include your API key in the Authorization header using the Key scheme:
Authorization: Key your-api-key-here
All API endpoints use the base path /platform/ and return JSON responses.
Example request:
curl -X GET "https://tediware.com/platform/results" \
-H "Authorization: Key your-api-key-here"
If the key is missing or invalid, the API returns a 401 response:
{
"error": {
"message": "API key is missing",
"code": "unauthorized"
}
}
Checking a Key
GET /platform/whoami
Reports the identity behind the key without reading any of your data, so it is the call to make when you want to know whether a stored key still works and what it reaches.
{
"organization": {
"id": "0d4b6b6e-5f8a-4c31-9a2e-7f6a1c0d9b21",
"name": "Acme Logistics"
},
"keyScope": "standard",
"keyLabel": "Production",
"serviceTermsAccepted": true
}
keyScopeisstandard,read_onlyorsandbox, as described above.keyLabelis the name the key was given when it was created.serviceTermsAcceptedreports whether the person who created the key has accepted the Tediware service terms.
Every key scope can call this endpoint, sandbox included: a client should be able to ask who it is with whatever key it holds. A missing or invalid key still returns 401, so a 200 is itself confirmation that the key is live.
curl "https://tediware.com/platform/whoami" \
-H "Authorization: Key your-api-key-here"
Revoking a Key
To revoke an API key, navigate to Settings then API Keys, find the key, and click Delete. Any requests using that key will immediately begin returning 401 responses.