4be6ae5eb287…Integration API referenceDocs · 7 pages ▾
Developers · Integration API
Integration API reference
The calls you make with a sandbox key. Check who your key is, ask for certification and production access, set up sandbox connections and adapters, and trade a signed assertion for a token.
- Version
- 2.1.0
- Server
api.truckertech.dev- Specification
- OpenAPI 3.1.0
- Sandbox access
- Create a sandbox account to get a key
Before your first call
Every path on this page is exact. Add each path to https://api.truckertech.dev to get the full URL.
Make a sandbox key in the Developer Console and send it as a bearer token, like this: Authorization: Bearer $TRUCKERTECH_API_KEY. A sandbox key only works on sandbox data, and a live endpoint refuses it. If you would rather use client credentials, sign an assertion and trade it for a token at /oauth/token. A token lasts ten minutes.
Call the API from a server or an agent, never from a browser page. When something goes wrong, you get { "error": { "code", "message", "hint" } }, and the hint says what to try. Every code is in the table below.
These operations are also in the connectors reference, next to the events your adapter handles.
Operations14
Integration APIGET / v1/ whoami
The integration principal of this credential
/ v1/ whoamiReturns the client, its organization, the environment, the credential kind and the effective scopes.
curl "https://api.truckertech.dev/v1/whoami" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ certification-requests
Your organization's certification requests
/ v1/ certification-requestsLists the certification requests of your organization in request id order, with their status (submitted, in_, approved, declined) and the decision note. Page with limit (1 to 100, default 25) and after (the next_ of the previous page).
curl "https://api.truckertech.dev/v1/certification-requests" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
limit | query | integer | Requests per page, 1 to 100; 25 when absent. |
after | query | string | The next_ of the previous page. |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIPOST / v1/ certification-requests
Ask TruckerTech to certify an adapter version
/ v1/ certification-requestsRecords a request that TruckerTech certify one adapter version for a capability class (R reads, E reads and events, W writes, F financial writes), and, right after the answer, queues the version for the automated certifier (one run per capability profile; the request moves to in_) and notifies the TruckerTech team. A request certifies nothing by itself: the certifier runs the conformance kit after the answer when it is on; a run that passes certifies the version, a run that fails on your adapter's own answers declines the request, and a run that cannot proceed (or a W or F class) leaves it for TruckerTech review. A version the certifier cannot take yet (not registered, for example) is recorded submitted for TruckerTech. Sandbox credentials only. The Person who issued the key must hold connections.manage in your organization. At most ten open requests per organization, one open request per adapter version and class, and 30 hosted conformance runs per organization in any rolling 24 hours (conformance_, 429 with Retry-After: the wait until enough runs leave the window); a version that declares more than 30 capability profiles is refused conformance_ (422). Contact and notes never carry a key, token or secret: such text is refused (secret_). Answers 201 with the request as filed. Sending the same filing again (the same key issuer, adapter version, class and manifest digest) while its request is open answers 200 with that request, so a retry after a timeout is safe; a retry's contact or notes are not stored when they differ, and the TruckerTech team is not notified again. A request still submitted with no run 15 minutes after it was filed is queued by the certifier's next sweep, or its decision_ says why it is not queued yet. Follow its status and conformance with GET /v1/certification-requests/{requestId}.
curl -X POST "https://api.truckertech.dev/v1/certification-requests" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
-H "Content-Type: application/json" \
--data @request.jsonRequest body application/json · Integration.
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | Already filed: the same filing (the same key issuer, adapter_ |
| 201 | inline | Recorded |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 404 | Integration. | not_ |
| 409 | Integration. | request_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ certification-requests/ {requestId}
One certification request and its status
/ v1/ certification-requests/ {requestId}Returns one certification request of your organization, by request id or by reference (CR- and ten characters), as items of one, with its status, decision note and conformance: for the latest run of each capability socket and class, the run's status, its stable code and reason, and every check that ran (id, dimension, outcome of pass, fail, not_ or faulted) with a fixed reason for each failed one. Fix the failed checks, then request again. Another organization's request is answered exactly as one that does not exist: 404 not_.
curl "https://api.truckertech.dev/v1/certification-requests/REQUEST_ID" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
requestId required | path | string | The request id (request_) or its reference (CR- and ten characters). |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 404 | Integration. | not_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ production-access-requests
Your organization's production access requests
/ v1/ production-access-requestsLists the production access requests of your organization in request id order, with the certification each rests on and its status. Page with limit (1 to 100, default 25) and after.
curl "https://api.truckertech.dev/v1/production-access-requests" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
limit | query | integer | Requests per page, 1 to 100; 25 when absent. |
after | query | string | The next_ of the previous page. |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIPOST / v1/ production-access-requests
Ask for production access on an approved certification
/ v1/ production-access-requestsRecords a request for production access on a certification request TruckerTech approved, for a capability class no higher than the certified one, and notifies the TruckerTech team. It issues no key and changes no class: the TruckerTech team reviews the request and issues live keys by hand. Sandbox credentials only; the Person who issued the key must hold connections.manage. A certification that is not yet approved is refused (not_). Answers 201 with the request.
curl -X POST "https://api.truckertech.dev/v1/production-access-requests" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
-H "Content-Type: application/json" \
--data @request.jsonRequest body application/json · Integration.
| Status | Body | Meaning |
|---|---|---|
| 201 | inline | Recorded |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 404 | Integration. | not_ |
| 409 | Integration. | request_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ production-access-requests/ {requestId}
One production access request and its status
/ v1/ production-access-requests/ {requestId}Returns one production access request of your organization, by request id or by reference (PA- and ten characters), as items of one. Another organization's request is answered exactly as one that does not exist: 404 not_.
curl "https://api.truckertech.dev/v1/production-access-requests/REQUEST_ID" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
requestId required | path | string | The request id (request_) or its reference (PA- and ten characters). |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 404 | Integration. | not_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ sandbox/ connections
Your organization's sandbox connections
/ v1/ sandbox/ connectionsLists the sandbox webhook connections of your organization in connection id order, active and revoked, with their key id, adapter and capability. Never a signing secret. Page with limit (1 to 100, default 25) and after (the next_ of the previous page).
curl "https://api.truckertech.dev/v1/sandbox/connections" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
limit | query | integer | Requests per page, 1 to 100; 25 when absent. |
after | query | string | The next_ of the previous page. |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIPOST / v1/ sandbox/ connections
Create a sandbox webhook connection and its signing secret
/ v1/ sandbox/ connectionsCreates a webhook connection of your sandbox practice organization for one adapter (adapter_: a reference adapter, e.g. reference.visibility, or your own nexus_ adapter once TruckerTech has activated it, whose endpoint then normalizes each delivery) and capability (capability_, e.g. visibility.shipment_), and a server-minted HMAC signing secret. Answers 201 with the connection and signing_, which is shown in this answer only and can never be read again: store it, and sign each delivery to POST /api/nexus/events/{connection_ with key id key_. In the envelope, partnerId is partner_ and connectionReference is connection_. Sandbox credentials only (sandbox_ otherwise); the Person who issued the key must hold connections.manage. At most ten active sandbox connections per organization.
curl -X POST "https://api.truckertech.dev/v1/sandbox/connections" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
-H "Content-Type: application/json" \
--data @request.jsonRequest body application/json · Integration.
| Status | Body | Meaning |
|---|---|---|
| 201 | inline | Recorded |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | sandbox_ |
| 409 | Integration. | adapter_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIDELETE / v1/ sandbox/ connections/ {connectionId}
Revoke a sandbox connection
/ v1/ sandbox/ connections/ {connectionId}Revokes one sandbox connection of your organization: its signing secret is destroyed and every later delivery is refused. Revoking a revoked connection answers it again. Another organization's connection is answered exactly as one that does not exist: 404 not_. Sandbox credentials only.
curl -X DELETE "https://api.truckertech.dev/v1/sandbox/connections/CONNECTION_ID" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
connectionId required | path | string | The sandbox connection id (connection_). |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | sandbox_ |
| 404 | Integration. | not_ |
| 409 | Integration. | adapter_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ sandbox/ adapters
Your organization's registered adapter versions
/ v1/ sandbox/ adaptersLists the adapter versions your organization registered in the sandbox, in registration order: adapter id, version, package, the manifest digest, the status (registered until TruckerTech activates it, then active), environments and sockets. Page with limit (1 to 100, default 25) and after (the next_ of the previous page).
curl "https://api.truckertech.dev/v1/sandbox/adapters" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
limit | query | integer | Requests per page, 1 to 100; 25 when absent. |
after | query | string | The next_ of the previous page. |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | credential_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIPOST / v1/ sandbox/ adapters
Register your adapter manifest in the sandbox
/ v1/ sandbox/ adaptersRegisters one adapter version from its manifest (manifest, the object your adapter package exports) and the manifest digest you computed (manifest_: SHA-256, lower-case hex, of the manifest as canonical JSON: object keys sorted, no whitespace). The server recomputes the digest and refuses a body whose digest differs (manifest_), then checks the manifest against the connector contract (manifest_ otherwise): an Ecosystem Partner manifest declared for the sandbox environment, on registered sockets, with no command operation. Its transport is https (registered only) or nexus_ (tt-nexus-remote/1: your own endpoint, which normalizes every delivery to a sandbox connection on the adapter once TruckerTech activates it); a nexus_ manifest also sends key_, the public key set your endpoint signs its answers with, and any other manifest omits it (key_ otherwise). The platform signs its requests to your endpoint with the key set published at GET /api/nexus/remote/keys. Answers 201 with the version in status registered; registering the same manifest again answers 200 with the same version. A changed manifest is a new version: the same version with another manifest is refused (adapter_). An adapter id belongs to the organization that registered it first (adapter_). TruckerTech activates a registered version after review; you cannot activate it yourself. Sandbox credentials only (sandbox_ otherwise); the Person who issued the key must hold connections.manage. At most twenty registered versions per organization.
curl -X POST "https://api.truckertech.dev/v1/sandbox/adapters" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
-H "Content-Type: application/json" \
--data @request.jsonRequest body application/json · Integration.
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | Already recorded: the same body was sent again |
| 201 | inline | Recorded |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | sandbox_ |
| 409 | Integration. | adapter_ |
| 422 | Integration. | manifest_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIGET / v1/ sandbox/ requests
Your organization's sandbox request log
/ v1/ sandbox/ requestsLists the calls your sandbox credentials made to this API in the last 7 days (the newest 500), newest first: the request id the API answered in X-Request-Id, the time, the method, the path (an id that is not a UUID or a request reference shows as {id}), the status, the error code, and whether an API key or an access token made the call. The same list as the request log in the Developer Console: never a request or answer body, a query string, a header or a key. Page back with limit (1 to 100, default 25) and before (the next_ of the previous page). To follow new calls, send since with the next_ of your last answer: you get the calls made after it that are more than 3 seconds old, the limit oldest of them, shown newest first, with more true while newer ones remain. New calls appear in the tail a few seconds after they happen; a page read without since shows every call at once. A before or since that is not a request id of your own log, or has left it, is answered 400 invalid_: start again without one. Reading this log is not itself recorded in it. Sandbox credentials only (sandbox_ otherwise); the Person who issued the key must hold connections.manage. Read only: this route changes nothing, and an API key cannot manage keys.
curl "https://api.truckertech.dev/v1/sandbox/requests" \
-H "Authorization: Bearer $TRUCKERTECH_API_KEY"| Name | In | Schema | Description |
|---|---|---|---|
limit | query | integer | Calls per page, 1 to 100; 25 when absent. |
before | query | string | The next_ of the previous page: the calls made before that request. Not with since. |
since | query | string | The next_ of your last answer: the calls made after that request, to follow the log. Not with before. |
| Status | Body | Meaning |
|---|---|---|
| 200 | inline | OK |
| 400 | Integration. | invalid_ |
| 401 | Integration. | unauthorized, invalid_ |
| 403 | Integration. | sandbox_ |
| 429 | Integration. | rate_ |
| 503 | Integration. | unavailable |
Integration APIPOST / oauth/ token
Client credentials with private_key_jwt
/ oauth/ tokenIssues a ten-minute access token for the client the signed assertion names. No client secret exists; a request presenting one is refused.
No sample to copy here. You don’t call this one with a key: you sign a short assertion and trade it for an access token.
Request body application/x-www-form-urlencoded · inline
| Status | Body | Meaning |
|---|---|---|
| 200 | Integration. | The access token |
| 400 | Empty | RFC 6749 5.2: invalid_ |
| 401 | Empty | invalid_ |
| 429 | Empty | rate_ |
Errors33
| Status | Code | What it means | What to do |
|---|---|---|---|
| 400 | invalid_ | The request was malformed: a bad query parameter, a bad id, or an unreadable Authorization header. | Send Authorization: Bearer <key> and only the documented parameters; ids are UUIDs and limit is 1 to 100. |
| 400 | adapter_ | The adapter name, version or manifest digest is malformed. | Use a lower-case package name, a semantic version such as 1.0.0 and an optional sha256: digest of 64 hexadecimal characters. |
| 400 | capability_ | The capability class is unknown, or above the class that was certified. | Use R, E, W or F; for production access, no higher than the certified class. |
| 400 | contact_ | The contact name or email address is malformed. | Give a name of 1 to 120 characters and a valid email address. |
| 400 | notes_ | The notes are longer than 2000 characters. | Shorten the notes to 2000 characters. |
| 400 | secret_ | The contact or notes look like a key, token, secret or TruckerTech identifier. | Remove it; never send a credential in a request body. |
| 401 | unauthorized | No credential was presented. | Send the key as Authorization: Bearer $TRUCKERTECH_. |
| 401 | invalid_ | The key or token is unknown, revoked, expired, or its client is disabled. | Create a new key in the console, or sign a new client assertion for a new access token. |
| 401 | credential_ | The credential belongs to another environment than the host that received it. | Use a sandbox key against the sandbox host, and a live credential against live. |
| 403 | credential_ | This kind of credential may not call this operation. | A live API key reads only; get an access token with client credentials for a write. Developer requests are filed with a sandbox credential. |
| 403 | forbidden_ | The request carried a browser Origin header. | Call the API from a server or an agent, never from a browser page; do not send Origin. |
| 403 | suspended | The integration client or its organization is suspended. | Resolve the suspension with TruckerTech support; retrying does not help. |
| 403 | owner_ | The organization that owns the key is no longer active. | Use a key from an active organization; a removed sandbox organization needs a new one. |
| 403 | insufficient_ | The credential lacks the scope the operation needs. | Request the scope in the token request, or use a key that holds it. |
| 403 | requester_ | The Person who issued the key does not hold connections.manage in the organization, so the key may not file developer requests. | Ask someone who holds connections.manage to issue a new sandbox key, then file the request with it. |
| 403 | sandbox_ | Sandbox connections and adapter registrations are made with sandbox credentials, in the sandbox only. | Use a sandbox key against the sandbox. |
| 404 | not_ | No such resource, or one your organization does not take part in (the two answer alike). | Take ids from GET /v1/certification-requests, GET /v1/production-access-requests or GET /v1/sandbox/connections; do not guess them. |
| 405 | method_ | The method is not allowed on this route. | Use the method in the Allow response header. |
| 409 | request_ | An open request for the same thing already exists. | Follow the open request with GET; file again once it is approved or declined. |
| 409 | open_ | The organization already has ten open requests. | Wait until TruckerTech decides one of the open requests. |
| 409 | not_ | The certification request a production access request rests on is not approved. | Ask for production access after GET /v1/certification-requests/{requestId} shows approved. |
| 409 | adapter_ | No reference adapter, and no activated remote adapter of yours, declares events for that capability in the sandbox. | Use a reference adapter id and a capability it declares events for, e.g. reference.visibility with visibility.shipment_, or your own nexus_ adapter once TruckerTech has activated it. An https adapter, or one not yet activated, does not back a connection. |
| 409 | sandbox_ | The organization already has ten active sandbox connections. | Revoke a sandbox connection you no longer use, then create the new one. |
| 409 | adapter_ | Another organization, or TruckerTech, registered this adapter id. | Choose an adapter id of your own and register again. |
| 409 | adapter_ | This adapter version is already registered with a different manifest. | A registered version never changes: raise version in the manifest and register the new one. |
| 409 | sandbox_ | The organization already has twenty registered adapter versions. | Ask TruckerTech to retire versions you no longer use. |
| 422 | key_ | key_ is missing for a nexus_ manifest, present for any other, or not a valid tt-nexus-remote/1 key set. | Send key_ only with a nexus_ manifest: protocol tt-nexus-remote/1, issuer your adapter id, 1 to 8 Ed25519 public keys (base64url, 32 bytes) with unique kids and status active, retiring or revoked. Public keys only. |
| 422 | manifest_ | The manifest does not meet the connector contract for a sandbox registration. | Check the manifest against the connector contract first. Register an ecosystem_ manifest that declares the sandbox environment (and nothing beyond local and sandbox), on registered sockets, with no command operation, of at most 12 KB. |
| 422 | manifest_ | manifest_ is not the SHA-256 of this manifest. | Hash the exact manifest you send as canonical JSON (object keys sorted, no whitespace) with SHA-256, lower-case hex. |
| 422 | conformance_ | The adapter version declares more than 30 capability profiles: certifying it needs more hosted conformance runs (one per profile) than an organization may have in 24 hours. | Waiting does not help. Declare at most 30 capability profiles in one version, or ask TruckerTech to certify it. |
| 429 | rate_ | A limit was exceeded. | Wait the number of seconds in the Retry-After header, then retry with backoff. |
| 429 | conformance_ | The organization has had 30 hosted conformance runs in the last 24 hours; a certification request would need more. | Wait the number of seconds in the Retry-After header, then file the request again. Fix the failed checks GET /v1/certification-requests/{requestId} shows before you ask again. |
| 502, 503 | unavailable | The service could not answer right now (503), or its answer failed its own contract (502). | Retry with exponential backoff; a read changes nothing. |
Show the 7 errors of the token endpoint
| Status | Code | What it means | What to do |
|---|---|---|---|
| 400 | invalid_ | The form carries a parameter the endpoint does not accept. | Send only grant_, client_, client_, client_ and scope. |
| 400 | invalid_ | A requested scope does not exist, is repeated, or is not granted to the client. | Request only scopes from the published list, each once. |
| 400 | unsupported_ | The grant type is not client_. | Use grant_. |
| 401 | invalid_ | Client authentication failed, with one answer for every cause: a missing or wrong client_, a missing or invalid client_, an Authorization header or a client_ (none is accepted), a replayed assertion, a disabled client or a retired key. | Send client_ and a fresh assertion: iss and sub are the client id, aud is the token endpoint, a new jti, exp within 300 seconds. Send no Authorization header. |
| 405 | method_ | The token endpoint accepts POST only. | POST the form. This answer is the nested form { "error": { "code": "method_ with Allow: POST. |
| 429 | rate_ | Too many token requests. | Wait for Retry-After; an access token lasts ten minutes, so reuse it. |
| 503 | temporarily_ | The service could not answer right now. | Retry with exponential backoff. |
Schemas18
Integration.*18
Integration.*18Integration.CertificationRequestBody object
Integration.CertificationRequestBody object| Member | Schema | Description |
|---|---|---|
adapter_ required | string | The adapter package name, lower case: letters, digits and . _ |
adapter_ required | string | A semantic version, e.g. 1.0.0 or 1.0.0-rc.1. |
manifest_ | string | null | Optional: the manifest digest, sha256: and 64 hexadecimal characters. |
capability_ required | enum "R" | "E" | "W" | "F" | |
contact_ required | string | Who TruckerTech contacts about the request, up to 120. |
contact_ required | string | Their email address. |
notes | string | null | Optional, up to 2000 characters. Never a key, token or secret. |
JSON Schema
{
"type": "object",
"properties": {
"adapter_name": {
"type": "string",
"description": "The adapter package name, lower case: letters, digits and . _ / @ -, up to 120."
},
"adapter_version": {
"type": "string",
"description": "A semantic version, e.g. 1.0.0 or 1.0.0-rc.1."
},
"manifest_digest": {
"description": "Optional: the manifest digest, sha256: and 64 hexadecimal characters.",
"type": [
"string",
"null"
]
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"contact_name": {
"type": "string",
"description": "Who TruckerTech contacts about the request, up to 120."
},
"contact_email": {
"type": "string",
"description": "Their email address."
},
"notes": {
"description": "Optional, up to 2000 characters. Never a key, token or secret.",
"type": [
"string",
"null"
]
}
},
"required": [
"adapter_name",
"adapter_version",
"capability_class",
"contact_name",
"contact_email"
],
"additionalProperties": false
}Integration.DeveloperRequest object
Integration.DeveloperRequest object| Member | Schema | Description |
|---|---|---|
request_ required | string | A TruckerTech id (a UUID). |
reference required | string | CR- (certification) or PA- (production access) and ten characters. |
kind required | enum "certification" | "production_access" | |
certification_ required | string | null | |
certification_ required | string | null | |
adapter_ required | string | null | |
adapter_ required | string | null | |
manifest_ required | string | null | |
capability_ required | enum "R" | "E" | "W" | "F" | |
status required | enum "submitted" | "in_review" | "approved" | "declined" | |
status_ required | string | null | |
decision_ required | string | null | |
conformance required | object | null | The checks the automated certifier ran and which failed, with a reason for each failure; null until a run is queued, and for production access. |
passed_ required | array of string | null | The ids of the conformance checks that passed (and failed in no run); null until a run of the request completed. |
failed_ required | array of object | null | Each conformance check that failed on your adapter's own answers, once, with what it expects; null until a run of the request completed. A check your endpoint did not answer during is not judged and is in neither list. |
created_ required | string | An ISO 8601 timestamp. |
JSON Schema
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
"reference": {
"type": "string",
"pattern": "^(CR|PA)-[0-9A-F]{10}$",
"description": "CR- (certification) or PA- (production access) and ten characters."
},
"kind": {
"type": "string",
"enum": [
"certification",
"production_access"
]
},
"certification_request_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
},
"certification_reference": {
"type": [
"string",
"null"
]
},
"adapter_name": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"manifest_digest": {
"type": [
"string",
"null"
]
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"status": {
"type": "string",
"enum": [
"submitted",
"in_review",
"approved",
"declined"
]
},
"status_changed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
},
"decision_note": {
"type": [
"string",
"null"
]
},
"conformance": {
"anyOf": [
{
"type": "object",
"properties": {
"runs": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"socket_code": {
"type": "string",
"maxLength": 120
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"attempt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"passed",
"failed"
]
},
"code": {
"anyOf": [
{
"type": "string",
"pattern": "^certifier_[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The stable code a run that did not pass ended with, e.g. certifier_check_failed."
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "The fixed sentence for `code`."
},
"endpoint_refusal": {
"anyOf": [
{
"type": "string",
"enum": [
"remote_endpoint_address_refused",
"remote_endpoint_url_refused",
"remote_endpoint_redirect_refused",
"remote_endpoint_response_too_large",
"remote_endpoint_timeout"
]
},
{
"type": "null"
}
],
"description": "What to fix when your endpoint was refused before it could be checked (certifier_remote_endpoint_refused only): its host did not resolve to a public address (one code for both), the URL broke the transport rules, it redirected, it answered too much, or it did not answer in time. Never the address or the resolver’s answer."
},
"missing_dimensions": {
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
"description": "The dimensions the class requires that no check passed (certifier_dimension_missing)."
},
"checks": {
"maxItems": 65,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$",
"description": "The check, e.g. authorization.grants-within-request."
},
"dimension": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The certification dimension it proves; null for the remote describe check."
},
"outcome": {
"type": "string",
"enum": [
"pass",
"fail",
"not_applicable",
"faulted"
]
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "What the check expects, for a failed or faulted check; null otherwise."
}
},
"required": [
"id",
"dimension",
"outcome",
"reason"
],
"additionalProperties": false
}
},
"queued_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"completed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"socket_code",
"capability_class",
"attempt",
"status",
"code",
"reason",
"endpoint_refusal",
"missing_dimensions",
"checks",
"queued_at",
"completed_at"
],
"additionalProperties": false
}
}
},
"required": [
"runs"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The checks the automated certifier ran and which failed, with a reason for each failure; null until a run is queued, and for production access."
},
"passed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
}
},
{
"type": "null"
}
],
"description": "The ids of the conformance checks that passed (and failed in no run); null until a run of the request completed."
},
"failed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"check": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
}
},
"required": [
"check",
"reason"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Each conformance check that failed on your adapter's own answers, once, with what it expects; null until a run of the request completed. A check your endpoint did not answer during is not judged and is in neither list."
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
}
},
"required": [
"request_id",
"reference",
"kind",
"certification_request_id",
"certification_reference",
"adapter_name",
"adapter_version",
"manifest_digest",
"capability_class",
"status",
"status_changed_at",
"decision_note",
"conformance",
"passed_checks",
"failed_checks",
"created_at"
],
"additionalProperties": false
}Integration.DeveloperRequestItem object
Integration.DeveloperRequestItem object| Member | Schema | Description |
|---|---|---|
items required | array of object |
JSON Schema
{
"type": "object",
"properties": {
"items": {
"minItems": 1,
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
"reference": {
"type": "string",
"pattern": "^(CR|PA)-[0-9A-F]{10}$",
"description": "CR- (certification) or PA- (production access) and ten characters."
},
"kind": {
"type": "string",
"enum": [
"certification",
"production_access"
]
},
"certification_request_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
},
"certification_reference": {
"type": [
"string",
"null"
]
},
"adapter_name": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"manifest_digest": {
"type": [
"string",
"null"
]
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"status": {
"type": "string",
"enum": [
"submitted",
"in_review",
"approved",
"declined"
]
},
"status_changed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
},
"decision_note": {
"type": [
"string",
"null"
]
},
"conformance": {
"anyOf": [
{
"type": "object",
"properties": {
"runs": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"socket_code": {
"type": "string",
"maxLength": 120
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"attempt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"passed",
"failed"
]
},
"code": {
"anyOf": [
{
"type": "string",
"pattern": "^certifier_[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The stable code a run that did not pass ended with, e.g. certifier_check_failed."
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "The fixed sentence for `code`."
},
"endpoint_refusal": {
"anyOf": [
{
"type": "string",
"enum": [
"remote_endpoint_address_refused",
"remote_endpoint_url_refused",
"remote_endpoint_redirect_refused",
"remote_endpoint_response_too_large",
"remote_endpoint_timeout"
]
},
{
"type": "null"
}
],
"description": "What to fix when your endpoint was refused before it could be checked (certifier_remote_endpoint_refused only): its host did not resolve to a public address (one code for both), the URL broke the transport rules, it redirected, it answered too much, or it did not answer in time. Never the address or the resolver’s answer."
},
"missing_dimensions": {
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
"description": "The dimensions the class requires that no check passed (certifier_dimension_missing)."
},
"checks": {
"maxItems": 65,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$",
"description": "The check, e.g. authorization.grants-within-request."
},
"dimension": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The certification dimension it proves; null for the remote describe check."
},
"outcome": {
"type": "string",
"enum": [
"pass",
"fail",
"not_applicable",
"faulted"
]
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "What the check expects, for a failed or faulted check; null otherwise."
}
},
"required": [
"id",
"dimension",
"outcome",
"reason"
],
"additionalProperties": false
}
},
"queued_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"completed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"socket_code",
"capability_class",
"attempt",
"status",
"code",
"reason",
"endpoint_refusal",
"missing_dimensions",
"checks",
"queued_at",
"completed_at"
],
"additionalProperties": false
}
}
},
"required": [
"runs"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The checks the automated certifier ran and which failed, with a reason for each failure; null until a run is queued, and for production access."
},
"passed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
}
},
{
"type": "null"
}
],
"description": "The ids of the conformance checks that passed (and failed in no run); null until a run of the request completed."
},
"failed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"check": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
}
},
"required": [
"check",
"reason"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Each conformance check that failed on your adapter's own answers, once, with what it expects; null until a run of the request completed. A check your endpoint did not answer during is not judged and is in neither list."
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
}
},
"required": [
"request_id",
"reference",
"kind",
"certification_request_id",
"certification_reference",
"adapter_name",
"adapter_version",
"manifest_digest",
"capability_class",
"status",
"status_changed_at",
"decision_note",
"conformance",
"passed_checks",
"failed_checks",
"created_at"
],
"additionalProperties": false
}
}
},
"required": [
"items"
],
"additionalProperties": false
}Integration.DeveloperRequestList object
Integration.DeveloperRequestList object| Member | Schema | Description |
|---|---|---|
items required | array of object | |
next_ required | string | null |
JSON Schema
{
"type": "object",
"properties": {
"items": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
"reference": {
"type": "string",
"pattern": "^(CR|PA)-[0-9A-F]{10}$",
"description": "CR- (certification) or PA- (production access) and ten characters."
},
"kind": {
"type": "string",
"enum": [
"certification",
"production_access"
]
},
"certification_request_id": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
},
"certification_reference": {
"type": [
"string",
"null"
]
},
"adapter_name": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"manifest_digest": {
"type": [
"string",
"null"
]
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"status": {
"type": "string",
"enum": [
"submitted",
"in_review",
"approved",
"declined"
]
},
"status_changed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
},
"decision_note": {
"type": [
"string",
"null"
]
},
"conformance": {
"anyOf": [
{
"type": "object",
"properties": {
"runs": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"socket_code": {
"type": "string",
"maxLength": 120
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"attempt": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"status": {
"type": "string",
"enum": [
"pending",
"running",
"passed",
"failed"
]
},
"code": {
"anyOf": [
{
"type": "string",
"pattern": "^certifier_[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The stable code a run that did not pass ended with, e.g. certifier_check_failed."
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "The fixed sentence for `code`."
},
"endpoint_refusal": {
"anyOf": [
{
"type": "string",
"enum": [
"remote_endpoint_address_refused",
"remote_endpoint_url_refused",
"remote_endpoint_redirect_refused",
"remote_endpoint_response_too_large",
"remote_endpoint_timeout"
]
},
{
"type": "null"
}
],
"description": "What to fix when your endpoint was refused before it could be checked (certifier_remote_endpoint_refused only): its host did not resolve to a public address (one code for both), the URL broke the transport rules, it redirected, it answered too much, or it did not answer in time. Never the address or the resolver’s answer."
},
"missing_dimensions": {
"maxItems": 16,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
"description": "The dimensions the class requires that no check passed (certifier_dimension_missing)."
},
"checks": {
"maxItems": 65,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$",
"description": "The check, e.g. authorization.grants-within-request."
},
"dimension": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z_]{3,60}$"
},
{
"type": "null"
}
],
"description": "The certification dimension it proves; null for the remote describe check."
},
"outcome": {
"type": "string",
"enum": [
"pass",
"fail",
"not_applicable",
"faulted"
]
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"description": "What the check expects, for a failed or faulted check; null otherwise."
}
},
"required": [
"id",
"dimension",
"outcome",
"reason"
],
"additionalProperties": false
}
},
"queued_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"completed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"socket_code",
"capability_class",
"attempt",
"status",
"code",
"reason",
"endpoint_refusal",
"missing_dimensions",
"checks",
"queued_at",
"completed_at"
],
"additionalProperties": false
}
}
},
"required": [
"runs"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The checks the automated certifier ran and which failed, with a reason for each failure; null until a run is queued, and for production access."
},
"passed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
}
},
{
"type": "null"
}
],
"description": "The ids of the conformance checks that passed (and failed in no run); null until a run of the request completed."
},
"failed_checks": {
"anyOf": [
{
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"check": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9._:-]{0,127}$"
},
"reason": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
]
}
},
"required": [
"check",
"reason"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Each conformance check that failed on your adapter's own answers, once, with what it expects; null until a run of the request completed. A check your endpoint did not answer during is not judged and is in neither list."
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
}
},
"required": [
"request_id",
"reference",
"kind",
"certification_request_id",
"certification_reference",
"adapter_name",
"adapter_version",
"manifest_digest",
"capability_class",
"status",
"status_changed_at",
"decision_note",
"conformance",
"passed_checks",
"failed_checks",
"created_at"
],
"additionalProperties": false
}
},
"next_after": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"next_after"
],
"additionalProperties": false
}Integration.Error object
Integration.Error object| Member | Schema | Description |
|---|---|---|
error required | object |
JSON Schema
{
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"unauthorized",
"invalid_request",
"invalid_credential",
"credential_environment_mismatch",
"credential_not_permitted",
"forbidden_origin",
"suspended",
"owner_inactive",
"insufficient_scope",
"not_found",
"rate_limited",
"unavailable",
"method_not_allowed",
"requester_not_permitted",
"request_duplicate",
"open_request_limit",
"not_certified",
"adapter_invalid",
"capability_class_invalid",
"contact_invalid",
"notes_invalid",
"secret_refused",
"sandbox_only",
"adapter_unavailable",
"sandbox_connection_limit",
"manifest_refused",
"manifest_digest_mismatch",
"adapter_id_unavailable",
"adapter_version_conflict",
"sandbox_adapter_limit",
"key_set_refused",
"conformance_run_limit",
"conformance_runs_exceed_limit"
]
},
"message": {
"type": "string"
},
"hint": {
"type": "string"
}
},
"required": [
"code",
"message",
"hint"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}Integration.ProductionAccessRequestBody object
Integration.ProductionAccessRequestBody object| Member | Schema | Description |
|---|---|---|
certification_ required | string | The request_ of a certification request TruckerTech approved. |
capability_ required | enum "R" | "E" | "W" | "F" | |
contact_ required | string | |
contact_ required | string | |
notes | string | null |
JSON Schema
{
"type": "object",
"properties": {
"certification_request_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The `request_id` of a certification request TruckerTech approved."
},
"capability_class": {
"type": "string",
"enum": [
"R",
"E",
"W",
"F"
]
},
"contact_name": {
"type": "string"
},
"contact_email": {
"type": "string"
},
"notes": {
"type": [
"string",
"null"
]
}
},
"required": [
"certification_request_id",
"capability_class",
"contact_name",
"contact_email"
],
"additionalProperties": false
}Integration.RemoteKeySet object
Integration.RemoteKeySet object| Member | Schema | Description |
|---|---|---|
protocol required | const "tt-nexus-remote/1" | |
issuer required | string | Your adapter id: the identity your endpoint signs as. |
keys required | array of object |
JSON Schema
{
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "tt-nexus-remote/1"
},
"issuer": {
"type": "string",
"maxLength": 96,
"description": "Your adapter id: the identity your endpoint signs as."
},
"keys": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
"description": "The key id your endpoint signs under; unique in the set, compared case-insensitively."
},
"alg": {
"type": "string",
"const": "Ed25519"
},
"publicKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$",
"description": "The 32-byte Ed25519 public key, base64url without padding."
},
"status": {
"type": "string",
"enum": [
"active",
"retiring",
"revoked"
],
"description": "active and retiring keys verify; a revoked key never does."
},
"notBeforeMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Valid from, ms since the Unix epoch."
},
"notAfterMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Valid until, ms since the Unix epoch; null for open-ended."
}
},
"required": [
"kid",
"alg",
"publicKey",
"status",
"notBeforeMs",
"notAfterMs"
],
"additionalProperties": false
}
}
},
"required": [
"protocol",
"issuer",
"keys"
],
"additionalProperties": false
}Integration.SandboxAdapter object
Integration.SandboxAdapter object| Member | Schema | Description |
|---|---|---|
adapter_ required | string | |
version required | string | |
package_ required | string | |
manifest_ required | string | SHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters. |
status required | enum "registered" | "active" | "suspended" | "retired" | registered until TruckerTech activates the version after review. |
environments required | array of string | |
socket_ required | array of string | socketCode@schemaVersion, e.g. visibility.shipment_ |
transport_ required | enum "https" | "nexus_remote" | nexus_ |
key_ required | object | null | The public key set registered with a nexus_ |
registered_ required | string | An ISO 8601 timestamp. |
status_ required | string | null |
JSON Schema
{
"type": "object",
"properties": {
"adapter_id": {
"type": "string"
},
"version": {
"type": "string"
},
"package_name": {
"type": "string"
},
"manifest_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters."
},
"status": {
"type": "string",
"enum": [
"registered",
"active",
"suspended",
"retired"
],
"description": "registered until TruckerTech activates the version after review."
},
"environments": {
"maxItems": 5,
"type": "array",
"items": {
"type": "string"
}
},
"socket_codes": {
"maxItems": 32,
"type": "array",
"items": {
"type": "string"
},
"description": "socketCode@schemaVersion, e.g. visibility.shipment_eta@1."
},
"transport_kind": {
"type": "string",
"enum": [
"https",
"nexus_remote"
],
"description": "nexus_remote: your endpoint normalizes deliveries over tt-nexus-remote/1; https: registered only."
},
"key_set": {
"anyOf": [
{
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "tt-nexus-remote/1"
},
"issuer": {
"type": "string",
"maxLength": 96,
"description": "Your adapter id: the identity your endpoint signs as."
},
"keys": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
"description": "The key id your endpoint signs under; unique in the set, compared case-insensitively."
},
"alg": {
"type": "string",
"const": "Ed25519"
},
"publicKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$",
"description": "The 32-byte Ed25519 public key, base64url without padding."
},
"status": {
"type": "string",
"enum": [
"active",
"retiring",
"revoked"
],
"description": "active and retiring keys verify; a revoked key never does."
},
"notBeforeMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Valid from, ms since the Unix epoch."
},
"notAfterMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Valid until, ms since the Unix epoch; null for open-ended."
}
},
"required": [
"kid",
"alg",
"publicKey",
"status",
"notBeforeMs",
"notAfterMs"
],
"additionalProperties": false
}
}
},
"required": [
"protocol",
"issuer",
"keys"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The public key set registered with a nexus_remote version; null for https."
},
"registered_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"status_changed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"adapter_id",
"version",
"package_name",
"manifest_sha256",
"status",
"environments",
"socket_codes",
"transport_kind",
"key_set",
"registered_at",
"status_changed_at"
],
"additionalProperties": false
}Integration.SandboxAdapterBody object
Integration.SandboxAdapterBody object| Member | Schema | Description |
|---|---|---|
manifest required | object | The adapter manifest: the object your adapter package exports as its manifest. |
manifest_ required | string | SHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters. |
key_ | object | Required for a nexus_ |
JSON Schema
{
"type": "object",
"properties": {
"manifest": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "The adapter manifest: the object your adapter package exports as its manifest."
},
"manifest_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters."
},
"key_set": {
"description": "Required for a nexus_remote manifest and refused for any other: the public key set your endpoint signs its answers with. issuer is your adapter id.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "tt-nexus-remote/1"
},
"issuer": {
"type": "string",
"maxLength": 96,
"description": "Your adapter id: the identity your endpoint signs as."
},
"keys": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
"description": "The key id your endpoint signs under; unique in the set, compared case-insensitively."
},
"alg": {
"type": "string",
"const": "Ed25519"
},
"publicKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$",
"description": "The 32-byte Ed25519 public key, base64url without padding."
},
"status": {
"type": "string",
"enum": [
"active",
"retiring",
"revoked"
],
"description": "active and retiring keys verify; a revoked key never does."
},
"notBeforeMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Valid from, ms since the Unix epoch."
},
"notAfterMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Valid until, ms since the Unix epoch; null for open-ended."
}
},
"required": [
"kid",
"alg",
"publicKey",
"status",
"notBeforeMs",
"notAfterMs"
],
"additionalProperties": false
}
}
},
"required": [
"protocol",
"issuer",
"keys"
],
"additionalProperties": false
}
},
"required": [
"manifest",
"manifest_sha256"
],
"additionalProperties": false
}Integration.SandboxAdapterList object
Integration.SandboxAdapterList object| Member | Schema | Description |
|---|---|---|
items required | array of object | |
next_ required | string | null |
JSON Schema
{
"type": "object",
"properties": {
"items": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"adapter_id": {
"type": "string"
},
"version": {
"type": "string"
},
"package_name": {
"type": "string"
},
"manifest_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters."
},
"status": {
"type": "string",
"enum": [
"registered",
"active",
"suspended",
"retired"
],
"description": "registered until TruckerTech activates the version after review."
},
"environments": {
"maxItems": 5,
"type": "array",
"items": {
"type": "string"
}
},
"socket_codes": {
"maxItems": 32,
"type": "array",
"items": {
"type": "string"
},
"description": "socketCode@schemaVersion, e.g. visibility.shipment_eta@1."
},
"transport_kind": {
"type": "string",
"enum": [
"https",
"nexus_remote"
],
"description": "nexus_remote: your endpoint normalizes deliveries over tt-nexus-remote/1; https: registered only."
},
"key_set": {
"anyOf": [
{
"type": "object",
"properties": {
"protocol": {
"type": "string",
"const": "tt-nexus-remote/1"
},
"issuer": {
"type": "string",
"maxLength": 96,
"description": "Your adapter id: the identity your endpoint signs as."
},
"keys": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"kid": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
"description": "The key id your endpoint signs under; unique in the set, compared case-insensitively."
},
"alg": {
"type": "string",
"const": "Ed25519"
},
"publicKey": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{43}$",
"description": "The 32-byte Ed25519 public key, base64url without padding."
},
"status": {
"type": "string",
"enum": [
"active",
"retiring",
"revoked"
],
"description": "active and retiring keys verify; a revoked key never does."
},
"notBeforeMs": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Valid from, ms since the Unix epoch."
},
"notAfterMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Valid until, ms since the Unix epoch; null for open-ended."
}
},
"required": [
"kid",
"alg",
"publicKey",
"status",
"notBeforeMs",
"notAfterMs"
],
"additionalProperties": false
}
}
},
"required": [
"protocol",
"issuer",
"keys"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The public key set registered with a nexus_remote version; null for https."
},
"registered_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"status_changed_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"adapter_id",
"version",
"package_name",
"manifest_sha256",
"status",
"environments",
"socket_codes",
"transport_kind",
"key_set",
"registered_at",
"status_changed_at"
],
"additionalProperties": false
}
},
"next_after": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"next_after"
],
"additionalProperties": false
}Integration.SandboxConnection object
Integration.SandboxConnection object| Member | Schema | Description |
|---|---|---|
connection_ required | string | The connection: POST /api/nexus/events/{connection_ |
partner_ required | string | The envelope partnerId: your organization. |
key_ required | string | The key id of the x-tt-nexus-signature header. |
adapter_ required | string | null | |
adapter_ required | string | null | |
capability_ required | string | |
status required | enum "active" | "revoked" | |
created_ required | string | An ISO 8601 timestamp. |
revoked_ required | string | null |
JSON Schema
{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The connection: POST /api/nexus/events/{connection_id}, and the envelope connectionReference."
},
"partner_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The envelope partnerId: your organization."
},
"key_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The key id of the x-tt-nexus-signature header."
},
"adapter_id": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"capability_code": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"revoked"
]
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"connection_id",
"partner_id",
"key_id",
"adapter_id",
"adapter_version",
"capability_code",
"status",
"created_at",
"revoked_at"
],
"additionalProperties": false
}Integration.SandboxConnectionBody object
Integration.SandboxConnectionBody object| Member | Schema | Description |
|---|---|---|
adapter_ required | string | A reference adapter registered in the sandbox, e.g. reference.visibility, or your own activated nexus_ |
capability_ required | string | A capability the adapter declares events for, e.g. visibility.shipment_ |
JSON Schema
{
"type": "object",
"properties": {
"adapter_id": {
"type": "string",
"maxLength": 96,
"description": "A reference adapter registered in the sandbox, e.g. reference.visibility, or your own activated nexus_remote adapter."
},
"capability_code": {
"type": "string",
"maxLength": 128,
"description": "A capability the adapter declares events for, e.g. visibility.shipment_eta."
}
},
"required": [
"adapter_id",
"capability_code"
],
"additionalProperties": false
}Integration.SandboxConnectionIssued object
Integration.SandboxConnectionIssued object| Member | Schema | Description |
|---|---|---|
connection_ required | string | The connection: POST /api/nexus/events/{connection_ |
partner_ required | string | The envelope partnerId: your organization. |
key_ required | string | The key id of the x-tt-nexus-signature header. |
adapter_ required | string | null | |
adapter_ required | string | null | |
capability_ required | string | |
status required | enum "active" | "revoked" | |
created_ required | string | An ISO 8601 timestamp. |
revoked_ required | string | null | |
signing_ required | string | The HMAC-SHA-256 key, as its UTF-8 bytes. Shown once; never readable again. |
JSON Schema
{
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The connection: POST /api/nexus/events/{connection_id}, and the envelope connectionReference."
},
"partner_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The envelope partnerId: your organization."
},
"key_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The key id of the x-tt-nexus-signature header."
},
"adapter_id": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"capability_code": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"revoked"
]
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
},
"signing_secret": {
"type": "string",
"pattern": "^[a-z]{2}_[a-z]{3}_[a-z]{5}_[0-9a-f]{64}$",
"description": "The HMAC-SHA-256 key, as its UTF-8 bytes. Shown once; never readable again."
}
},
"required": [
"connection_id",
"partner_id",
"key_id",
"adapter_id",
"adapter_version",
"capability_code",
"status",
"created_at",
"revoked_at",
"signing_secret"
],
"additionalProperties": false
}Integration.SandboxConnectionList object
Integration.SandboxConnectionList object| Member | Schema | Description |
|---|---|---|
items required | array of object | |
next_ required | string | null |
JSON Schema
{
"type": "object",
"properties": {
"items": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"connection_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The connection: POST /api/nexus/events/{connection_id}, and the envelope connectionReference."
},
"partner_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The envelope partnerId: your organization."
},
"key_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "The key id of the x-tt-nexus-signature header."
},
"adapter_id": {
"type": [
"string",
"null"
]
},
"adapter_version": {
"type": [
"string",
"null"
]
},
"capability_code": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"active",
"revoked"
]
},
"created_at": {
"type": "string",
"description": "An ISO 8601 timestamp."
},
"revoked_at": {
"anyOf": [
{
"type": "string",
"description": "An ISO 8601 timestamp."
},
{
"type": "null"
}
]
}
},
"required": [
"connection_id",
"partner_id",
"key_id",
"adapter_id",
"adapter_version",
"capability_code",
"status",
"created_at",
"revoked_at"
],
"additionalProperties": false
}
},
"next_after": {
"anyOf": [
{
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
{
"type": "null"
}
]
}
},
"required": [
"items",
"next_after"
],
"additionalProperties": false
}Integration.SandboxRequest object
Integration.SandboxRequest object| Member | Schema | Description |
|---|---|---|
request_ required | string | A request id, as the API answered it in X-Request-Id. |
occurred_ required | string | An ISO 8601 timestamp. |
method required | enum "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | |
path required | string | The path as called, without a query; an id that is not a UUID or a reference is {id}. |
status required | integer | |
error_ required | string | null | The API error code of a call that failed; null when it succeeded. |
credential_ required | enum "api_key" | "access_token" |
JSON Schema
{
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^req-[0-9a-f]{24}$",
"description": "A request id, as the API answered it in `X-Request-Id`."
},
"occurred_at": {
"type": "string",
"minLength": 10,
"maxLength": 40,
"description": "An ISO 8601 timestamp."
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
]
},
"path": {
"type": "string",
"pattern": "^\\/v1(\\/[A-Za-z0-9{}-]{1,64}){0,4}$",
"description": "The path as called, without a query; an id that is not a UUID or a reference is `{id}`."
},
"status": {
"type": "integer",
"minimum": 100,
"maximum": 599
},
"error_code": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
{
"type": "null"
}
],
"description": "The API error code of a call that failed; null when it succeeded."
},
"credential_kind": {
"type": "string",
"enum": [
"api_key",
"access_token"
]
}
},
"required": [
"request_id",
"occurred_at",
"method",
"path",
"status",
"error_code",
"credential_kind"
],
"additionalProperties": false
}Integration.SandboxRequestList object
Integration.SandboxRequestList object| Member | Schema | Description |
|---|---|---|
items required | array of object | |
next_ required | string | null | |
next_ required | string | null | |
more required | boolean |
JSON Schema
{
"type": "object",
"properties": {
"items": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"request_id": {
"type": "string",
"pattern": "^req-[0-9a-f]{24}$",
"description": "A request id, as the API answered it in `X-Request-Id`."
},
"occurred_at": {
"type": "string",
"minLength": 10,
"maxLength": 40,
"description": "An ISO 8601 timestamp."
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
]
},
"path": {
"type": "string",
"pattern": "^\\/v1(\\/[A-Za-z0-9{}-]{1,64}){0,4}$",
"description": "The path as called, without a query; an id that is not a UUID or a reference is `{id}`."
},
"status": {
"type": "integer",
"minimum": 100,
"maximum": 599
},
"error_code": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
{
"type": "null"
}
],
"description": "The API error code of a call that failed; null when it succeeded."
},
"credential_kind": {
"type": "string",
"enum": [
"api_key",
"access_token"
]
}
},
"required": [
"request_id",
"occurred_at",
"method",
"path",
"status",
"error_code",
"credential_kind"
],
"additionalProperties": false
}
},
"next_before": {
"anyOf": [
{
"type": "string",
"pattern": "^req-[0-9a-f]{24}$",
"description": "A request id, as the API answered it in `X-Request-Id`."
},
{
"type": "null"
}
]
},
"next_since": {
"anyOf": [
{
"type": "string",
"pattern": "^req-[0-9a-f]{24}$",
"description": "A request id, as the API answered it in `X-Request-Id`."
},
{
"type": "null"
}
]
},
"more": {
"type": "boolean"
}
},
"required": [
"items",
"next_before",
"next_since",
"more"
],
"additionalProperties": false
}Integration.TokenResponse object
Integration.TokenResponse object| Member | Schema | Description |
|---|---|---|
access_ required | string | tt_ |
token_ required | const "Bearer" | |
expires_ required | integer | |
scope required | string |
JSON Schema
{
"type": "object",
"properties": {
"access_token": {
"type": "string",
"description": "tt_<live|sbx>_at_…; ten minutes."
},
"token_type": {
"type": "string",
"const": "Bearer"
},
"expires_in": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"scope": {
"type": "string"
}
},
"required": [
"access_token",
"token_type",
"expires_in",
"scope"
],
"additionalProperties": false
}Integration.Whoami object
Integration.Whoami object| Member | Schema | Description |
|---|---|---|
principal required | const "integration" | |
client_ required | string | A TruckerTech id (a UUID). |
client_ required | string | |
organization_ required | string | A TruckerTech id (a UUID). |
organization_ required | string | |
environment required | enum "live" | "sbx" | |
credential required | enum "api_key" | "access_token" | |
scopes required | array of enum "career.postings:read" | "career.postings:write" | "ops.cores:read" |
JSON Schema
{
"type": "object",
"properties": {
"principal": {
"type": "string",
"const": "integration"
},
"client_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
"client_name": {
"type": "string"
},
"organization_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "A TruckerTech id (a UUID)."
},
"organization_name": {
"type": "string"
},
"environment": {
"type": "string",
"enum": [
"live",
"sbx"
]
},
"credential": {
"type": "string",
"enum": [
"api_key",
"access_token"
]
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"career.postings:read",
"career.postings:write",
"ops.cores:read"
]
}
}
},
"required": [
"principal",
"client_id",
"client_name",
"organization_id",
"organization_name",
"environment",
"credential",
"scopes"
],
"additionalProperties": false
}