Day ZeroOpenSet up before launch.How Day Zero worksHow it works
Published · openapi.json 2.1.0 · SHA-256 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 API

GET /v1/whoami

The integration principal of this credential

Returns the client, its organization, the environment, the credential kind and the effective scopes.

Sandbox call
curl "https://api.truckertech.dev/v1/whoami" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/certification-requests

Your organization's certification requests

Lists the certification requests of your organization in request id order, with their status (submitted, in_review, approved, declined) and the decision note. Page with limit (1 to 100, default 25) and after (the next_after of the previous page).

Sandbox call
curl "https://api.truckertech.dev/v1/certification-requests" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
limitqueryintegerRequests per page, 1 to 100; 25 when absent.
afterquerystringThe next_after of the previous page.
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

POST /v1/certification-requests

Ask TruckerTech to certify an adapter version

Records 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_review) 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_run_limit, 429 with Retry-After: the wait until enough runs leave the window); a version that declares more than 30 capability profiles is refused conformance_runs_exceed_limit (422). Contact and notes never carry a key, token or secret: such text is refused (secret_refused). 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_note says why it is not queued yet. Follow its status and conformance with GET /v1/certification-requests/{requestId}.

Sandbox call
curl -X POST "https://api.truckertech.dev/v1/certification-requests" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
  -H "Content-Type: application/json" \
  --data @request.json

Request body application/json · Integration.CertificationRequestBody

Responses
StatusBodyMeaning
200inlineAlready filed: the same filing (the same key issuer, adapter_name, adapter_version, capability_class and manifest_digest) was sent again while its request is open. The open request is answered as it was filed: a contact_name, contact_email or notes that differ from the first filing are not stored, and the TruckerTech team is not notified again.
201inlineRecorded
400Integration.Errorinvalid_request, adapter_invalid, capability_class_invalid, contact_invalid, notes_invalid, secret_refused
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted (a live key, or not a sandbox credential), requester_not_permitted, suspended, owner_inactive, forbidden_origin
404Integration.Errornot_found (production access: a certification request of another organization)
409Integration.Errorrequest_duplicate, open_request_limit, not_certified
429Integration.Errorrate_limited, with Retry-After; conformance_run_limit (certification requests: 30 hosted conformance runs per organization in any rolling 24 hours), with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/certification-requests/{requestId}

One certification request and its status

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_applicable 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_found.

Sandbox call
curl "https://api.truckertech.dev/v1/certification-requests/REQUEST_ID" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
requestId requiredpathstringThe request id (request_id) or its reference (CR- and ten characters).
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
404Integration.Errornot_found
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/production-access-requests

Your organization's production access requests

Lists 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.

Sandbox call
curl "https://api.truckertech.dev/v1/production-access-requests" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
limitqueryintegerRequests per page, 1 to 100; 25 when absent.
afterquerystringThe next_after of the previous page.
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

POST /v1/production-access-requests

Ask for production access on an approved certification

Records 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_certified). Answers 201 with the request.

Sandbox call
curl -X POST "https://api.truckertech.dev/v1/production-access-requests" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
  -H "Content-Type: application/json" \
  --data @request.json

Request body application/json · Integration.ProductionAccessRequestBody

Responses
StatusBodyMeaning
201inlineRecorded
400Integration.Errorinvalid_request, adapter_invalid, capability_class_invalid, contact_invalid, notes_invalid, secret_refused
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted (a live key, or not a sandbox credential), requester_not_permitted, suspended, owner_inactive, forbidden_origin
404Integration.Errornot_found (production access: a certification request of another organization)
409Integration.Errorrequest_duplicate, open_request_limit, not_certified
429Integration.Errorrate_limited, with Retry-After; conformance_run_limit (certification requests: 30 hosted conformance runs per organization in any rolling 24 hours), with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/production-access-requests/{requestId}

One production access request and its status

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_found.

Sandbox call
curl "https://api.truckertech.dev/v1/production-access-requests/REQUEST_ID" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
requestId requiredpathstringThe request id (request_id) or its reference (PA- and ten characters).
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
404Integration.Errornot_found
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/sandbox/connections

Your organization's sandbox connections

Lists 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_after of the previous page).

Sandbox call
curl "https://api.truckertech.dev/v1/sandbox/connections" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
limitqueryintegerRequests per page, 1 to 100; 25 when absent.
afterquerystringThe next_after of the previous page.
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

POST /v1/sandbox/connections

Create a sandbox webhook connection and its signing secret

Creates a webhook connection of your sandbox practice organization for one adapter (adapter_id: a reference adapter, e.g. reference.visibility, or your own nexus_remote adapter once TruckerTech has activated it, whose endpoint then normalizes each delivery) and capability (capability_code, e.g. visibility.shipment_eta), and a server-minted HMAC signing secret. Answers 201 with the connection and signing_secret, 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_id} with key id key_id. In the envelope, partnerId is partner_id and connectionReference is connection_id. Sandbox credentials only (sandbox_only otherwise); the Person who issued the key must hold connections.manage. At most ten active sandbox connections per organization.

Sandbox call
curl -X POST "https://api.truckertech.dev/v1/sandbox/connections" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
  -H "Content-Type: application/json" \
  --data @request.json

Request body application/json · Integration.SandboxConnectionBody

Responses
StatusBodyMeaning
201inlineRecorded
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorsandbox_only (not a sandbox credential), credential_not_permitted (a live API key), requester_not_permitted, suspended, owner_inactive, forbidden_origin
409Integration.Erroradapter_unavailable, sandbox_connection_limit
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

DELETE /v1/sandbox/connections/{connectionId}

Revoke a sandbox connection

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_found. Sandbox credentials only.

Sandbox call
curl -X DELETE "https://api.truckertech.dev/v1/sandbox/connections/CONNECTION_ID" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
connectionId requiredpathstringThe sandbox connection id (connection_id).
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorsandbox_only (not a sandbox credential), credential_not_permitted (a live API key), requester_not_permitted, suspended, owner_inactive, forbidden_origin
404Integration.Errornot_found (revoke: a connection of another organization)
409Integration.Erroradapter_unavailable, sandbox_connection_limit
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/sandbox/adapters

Your organization's registered adapter versions

Lists 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_after of the previous page).

Sandbox call
curl "https://api.truckertech.dev/v1/sandbox/adapters" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
limitqueryintegerRequests per page, 1 to 100; 25 when absent.
afterquerystringThe next_after of the previous page.
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorcredential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

POST /v1/sandbox/adapters

Register your adapter manifest in the sandbox

Registers one adapter version from its manifest (manifest, the object your adapter package exports) and the manifest digest you computed (manifest_sha256: 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_digest_mismatch), then checks the manifest against the connector contract (manifest_refused 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_remote (tt-nexus-remote/1: your own endpoint, which normalizes every delivery to a sandbox connection on the adapter once TruckerTech activates it); a nexus_remote manifest also sends key_set, the public key set your endpoint signs its answers with, and any other manifest omits it (key_set_refused 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_version_conflict). An adapter id belongs to the organization that registered it first (adapter_id_unavailable). TruckerTech activates a registered version after review; you cannot activate it yourself. Sandbox credentials only (sandbox_only otherwise); the Person who issued the key must hold connections.manage. At most twenty registered versions per organization.

Sandbox call
curl -X POST "https://api.truckertech.dev/v1/sandbox/adapters" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY" \
  -H "Content-Type: application/json" \
  --data @request.json

Request body application/json · Integration.SandboxAdapterBody

Responses
StatusBodyMeaning
200inlineAlready recorded: the same body was sent again
201inlineRecorded
400Integration.Errorinvalid_request
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorsandbox_only (not a sandbox credential or not the sandbox), credential_not_permitted (a live API key), requester_not_permitted, suspended, owner_inactive, forbidden_origin
409Integration.Erroradapter_id_unavailable, adapter_version_conflict, sandbox_adapter_limit
422Integration.Errormanifest_refused, manifest_digest_mismatch, key_set_refused
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

GET /v1/sandbox/requests

Your organization's sandbox request log

Lists 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_before of the previous page). To follow new calls, send since with the next_since 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_request: start again without one. Reading this log is not itself recorded in it. Sandbox credentials only (sandbox_only otherwise); the Person who issued the key must hold connections.manage. Read only: this route changes nothing, and an API key cannot manage keys.

Sandbox call
curl "https://api.truckertech.dev/v1/sandbox/requests" \
  -H "Authorization: Bearer $TRUCKERTECH_API_KEY"

Parameters
NameInSchemaDescription
limitqueryintegerCalls per page, 1 to 100; 25 when absent.
beforequerystringThe next_before of the previous page: the calls made before that request. Not with since.
sincequerystringThe next_since of your last answer: the calls made after that request, to follow the log. Not with before.
Responses
StatusBodyMeaning
200inlineOK
400Integration.Errorinvalid_request (including a before or since that is not a request id of your own log)
401Integration.Errorunauthorized, invalid_credential, credential_environment_mismatch
403Integration.Errorsandbox_only (not a sandbox credential), requester_not_permitted (the key issuer does not hold connections.manage), credential_not_permitted, suspended, owner_inactive, forbidden_origin, insufficient_scope
429Integration.Errorrate_limited, with Retry-After
503Integration.Errorunavailable
Integration API

POST /oauth/token

Client credentials with private_key_jwt

Issues 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

Responses
StatusBodyMeaning
200Integration.TokenResponseThe access token
400EmptyRFC 6749 5.2: invalid_request, invalid_scope, unsupported_grant_type
401Emptyinvalid_client: any failed client authentication, one answer
429Emptyrate_limited, with Retry-After

Errors33

Errors
StatusCodeWhat it meansWhat to do
400invalid_requestThe 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.
400adapter_invalidThe 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.
400capability_class_invalidThe 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.
400contact_invalidThe contact name or email address is malformed.Give a name of 1 to 120 characters and a valid email address.
400notes_invalidThe notes are longer than 2000 characters.Shorten the notes to 2000 characters.
400secret_refusedThe contact or notes look like a key, token, secret or TruckerTech identifier.Remove it; never send a credential in a request body.
401unauthorizedNo credential was presented.Send the key as Authorization: Bearer $TRUCKERTECH_API_KEY.
401invalid_credentialThe 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.
401credential_environment_mismatchThe 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.
403credential_not_permittedThis 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.
403forbidden_originThe request carried a browser Origin header.Call the API from a server or an agent, never from a browser page; do not send Origin.
403suspendedThe integration client or its organization is suspended.Resolve the suspension with TruckerTech support; retrying does not help.
403owner_inactiveThe organization that owns the key is no longer active.Use a key from an active organization; a removed sandbox organization needs a new one.
403insufficient_scopeThe credential lacks the scope the operation needs.Request the scope in the token request, or use a key that holds it.
403requester_not_permittedThe 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.
403sandbox_onlySandbox connections and adapter registrations are made with sandbox credentials, in the sandbox only.Use a sandbox key against the sandbox.
404not_foundNo 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.
405method_not_allowedThe method is not allowed on this route.Use the method in the Allow response header.
409request_duplicateAn open request for the same thing already exists.Follow the open request with GET; file again once it is approved or declined.
409open_request_limitThe organization already has ten open requests.Wait until TruckerTech decides one of the open requests.
409not_certifiedThe certification request a production access request rests on is not approved.Ask for production access after GET /v1/certification-requests/{requestId} shows approved.
409adapter_unavailableNo 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_eta, or your own nexus_remote adapter once TruckerTech has activated it. An https adapter, or one not yet activated, does not back a connection.
409sandbox_connection_limitThe organization already has ten active sandbox connections.Revoke a sandbox connection you no longer use, then create the new one.
409adapter_id_unavailableAnother organization, or TruckerTech, registered this adapter id.Choose an adapter id of your own and register again.
409adapter_version_conflictThis adapter version is already registered with a different manifest.A registered version never changes: raise version in the manifest and register the new one.
409sandbox_adapter_limitThe organization already has twenty registered adapter versions.Ask TruckerTech to retire versions you no longer use.
422key_set_refusedkey_set is missing for a nexus_remote manifest, present for any other, or not a valid tt-nexus-remote/1 key set.Send key_set only with a nexus_remote 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.
422manifest_refusedThe manifest does not meet the connector contract for a sandbox registration.Check the manifest against the connector contract first. Register an ecosystem_partner manifest that declares the sandbox environment (and nothing beyond local and sandbox), on registered sockets, with no command operation, of at most 12 KB.
422manifest_digest_mismatchmanifest_sha256 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.
422conformance_runs_exceed_limitThe 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.
429rate_limitedA limit was exceeded.Wait the number of seconds in the Retry-After header, then retry with backoff.
429conformance_run_limitThe 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, 503unavailableThe 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
Token endpoint errors
StatusCodeWhat it meansWhat to do
400invalid_requestThe form carries a parameter the endpoint does not accept.Send only grant_type, client_assertion_type, client_assertion, client_id and scope.
400invalid_scopeA requested scope does not exist, is repeated, or is not granted to the client.Request only scopes from the published list, each once.
400unsupported_grant_typeThe grant type is not client_credentials.Use grant_type=client_credentials.
401invalid_clientClient authentication failed, with one answer for every cause: a missing or wrong client_assertion_type, a missing or invalid client_assertion, an Authorization header or a client_secret (none is accepted), a replayed assertion, a disabled client or a retired key.Send client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer 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.
405method_not_allowedThe token endpoint accepts POST only.POST the form. This answer is the nested form { "error": { "code": "method_not_allowed" } } with Allow: POST.
429rate_limitedToo many token requests.Wait for Retry-After; an access token lasts ten minutes, so reuse it.
503temporarily_unavailableThe service could not answer right now.Retry with exponential backoff.

Schemas18

Integration.*18

Integration.CertificationRequestBody object

Members
MemberSchemaDescription
adapter_name requiredstringThe adapter package name, lower case: letters, digits and . _ / @ -, up to 120.
adapter_version requiredstringA semantic version, e.g. 1.0.0 or 1.0.0-rc.1.
manifest_digeststring | nullOptional: the manifest digest, sha256: and 64 hexadecimal characters.
capability_class requiredenum "R" | "E" | "W" | "F"
contact_name requiredstringWho TruckerTech contacts about the request, up to 120.
contact_email requiredstringTheir email address.
notesstring | nullOptional, 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

Members
MemberSchemaDescription
request_id requiredstringA TruckerTech id (a UUID).
reference requiredstringCR- (certification) or PA- (production access) and ten characters.
kind requiredenum "certification" | "production_access"
certification_request_id requiredstring | null
certification_reference requiredstring | null
adapter_name requiredstring | null
adapter_version requiredstring | null
manifest_digest requiredstring | null
capability_class requiredenum "R" | "E" | "W" | "F"
status requiredenum "submitted" | "in_review" | "approved" | "declined"
status_changed_at requiredstring | null
decision_note requiredstring | null
conformance requiredobject | nullThe 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 requiredarray of string | nullThe ids of the conformance checks that passed (and failed in no run); null until a run of the request completed.
failed_checks requiredarray of object | nullEach 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 requiredstringAn 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

Members
MemberSchemaDescription
items requiredarray 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

Members
MemberSchemaDescription
items requiredarray of object
next_after requiredstring | 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

Members
MemberSchemaDescription
error requiredobject
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

Members
MemberSchemaDescription
certification_request_id requiredstringThe request_id of a certification request TruckerTech approved.
capability_class requiredenum "R" | "E" | "W" | "F"
contact_name requiredstring
contact_email requiredstring
notesstring | 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

Members
MemberSchemaDescription
protocol requiredconst "tt-nexus-remote/1"
issuer requiredstringYour adapter id: the identity your endpoint signs as.
keys requiredarray 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

Members
MemberSchemaDescription
adapter_id requiredstring
version requiredstring
package_name requiredstring
manifest_sha256 requiredstringSHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters.
status requiredenum "registered" | "active" | "suspended" | "retired"registered until TruckerTech activates the version after review.
environments requiredarray of string
socket_codes requiredarray of stringsocketCode@schemaVersion, e.g. visibility.shipment_eta@1.
transport_kind requiredenum "https" | "nexus_remote"nexus_remote: your endpoint normalizes deliveries over tt-nexus-remote/1; https: registered only.
key_set requiredobject | nullThe public key set registered with a nexus_remote version; null for https.
registered_at requiredstringAn ISO 8601 timestamp.
status_changed_at requiredstring | 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

Members
MemberSchemaDescription
manifest requiredobjectThe adapter manifest: the object your adapter package exports as its manifest.
manifest_sha256 requiredstringSHA-256 of the manifest canonical JSON, 64 lower-case hexadecimal characters.
key_setobjectRequired 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.
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

Members
MemberSchemaDescription
items requiredarray of object
next_after requiredstring | 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

Members
MemberSchemaDescription
connection_id requiredstringThe connection: POST /api/nexus/events/{connection_id}, and the envelope connectionReference.
partner_id requiredstringThe envelope partnerId: your organization.
key_id requiredstringThe key id of the x-tt-nexus-signature header.
adapter_id requiredstring | null
adapter_version requiredstring | null
capability_code requiredstring
status requiredenum "active" | "revoked"
created_at requiredstringAn ISO 8601 timestamp.
revoked_at requiredstring | 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

Members
MemberSchemaDescription
adapter_id requiredstringA reference adapter registered in the sandbox, e.g. reference.visibility, or your own activated nexus_remote adapter.
capability_code requiredstringA capability the adapter declares events for, e.g. visibility.shipment_eta.
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

Members
MemberSchemaDescription
connection_id requiredstringThe connection: POST /api/nexus/events/{connection_id}, and the envelope connectionReference.
partner_id requiredstringThe envelope partnerId: your organization.
key_id requiredstringThe key id of the x-tt-nexus-signature header.
adapter_id requiredstring | null
adapter_version requiredstring | null
capability_code requiredstring
status requiredenum "active" | "revoked"
created_at requiredstringAn ISO 8601 timestamp.
revoked_at requiredstring | null
signing_secret requiredstringThe 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

Members
MemberSchemaDescription
items requiredarray of object
next_after requiredstring | 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

Members
MemberSchemaDescription
request_id requiredstringA request id, as the API answered it in X-Request-Id.
occurred_at requiredstringAn ISO 8601 timestamp.
method requiredenum "GET" | "POST" | "PUT" | "PATCH" | "DELETE"
path requiredstringThe path as called, without a query; an id that is not a UUID or a reference is {id}.
status requiredinteger
error_code requiredstring | nullThe API error code of a call that failed; null when it succeeded.
credential_kind requiredenum "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

Members
MemberSchemaDescription
items requiredarray of object
next_before requiredstring | null
next_since requiredstring | null
more requiredboolean
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

Members
MemberSchemaDescription
access_token requiredstringtt_<live|sbx>_at_…; ten minutes.
token_type requiredconst "Bearer"
expires_in requiredinteger
scope requiredstring
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

Members
MemberSchemaDescription
principal requiredconst "integration"
client_id requiredstringA TruckerTech id (a UUID).
client_name requiredstring
organization_id requiredstringA TruckerTech id (a UUID).
organization_name requiredstring
environment requiredenum "live" | "sbx"
credential requiredenum "api_key" | "access_token"
scopes requiredarray 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
}