Terminal49 Account API

The Account API from Terminal49, for account.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /me Get the current credential #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/terminal49:terminal49-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

terminal49-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Terminal49 API Reference Account API
  version: 0.2.0
  contact:
    name: Terminal49 API support
    url: https://www.terminal49.com
    email: support@terminal49.com
  description: 'The Terminal 49 API offers a convenient way to programmatically track your shipments from origin to destination.


    Please enter your API key into the "Variables" tab before using these endpoints within Postman.'
  x-label: Beta
  termsOfService: https://www.terminal49.com/terms
servers:
- url: https://api.terminal49.com/v2
  description: Production
security:
- authorization: []
tags:
- name: Account
paths:
  /me:
    get:
      summary: Get the current credential
      tags:
      - Account
      operationId: get-me
      description: 'Return the credential that authenticated this request: whether it is an API key or a signed-in user, the account it is scoped to, and which features that credential can use on that account.


        Accepts `Authorization: Token ` and `Authorization: Bearer `. A user token selects the account with the `x-account-id` header and defaults to the user''s primary account. The response is never cached (`Cache-Control: no-store`).


        Unlike most endpoints, an API key on a free plan can call this endpoint: `features.data_out_api.status` tells it which other calls will be refused and why.'
      parameters:
      - name: x-account-id
        in: header
        required: false
        description: Select an account accessible to the signed-in user. Defaults to the user's primary account. API keys remain scoped to their own account.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                - included
                properties:
                  data:
                    $ref: '#/components/schemas/credential'
                  included:
                    type: array
                    description: Includes the current account, the linked user when present, and every account in that user's accounts relationship. Linked resources are always included.
                    items:
                      oneOf:
                      - $ref: '#/components/schemas/credential_account'
                      - $ref: '#/components/schemas/credential_user'
                    minItems: 1
              examples:
                Signed-in user through an MCP client:
                  value:
                    data:
                      id: 8c1d2f3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f
                      type: credential
                      attributes:
                        kind: user
                        channel: mcp
                        name: null
                        features:
                          data_out_api:
                            status: available
                          custom_fields:
                            status: available
                          routing_data:
                            status: available
                          rail_data:
                            status: not_enabled
                          stop_tracking:
                            status: available
                          trade_intel:
                            status: not_enabled
                      relationships:
                        account:
                          data:
                            id: b7e2c9a1-5d3f-4e8b-9c0a-1f2e3d4c5b6a
                            type: account
                        user:
                          data:
                            id: 8c1d2f3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f
                            type: user
                    included:
                    - id: b7e2c9a1-5d3f-4e8b-9c0a-1f2e3d4c5b6a
                      type: account
                      attributes:
                        company_name: Acme Logistics
                        company_type: freight_forwarder
                        scac: ACML
                        abbr_name: ACME
                        city: Oakland
                        state_abbr: CA
                        country: United States
                        plan: customer
                        tracking_slots: null
                    - id: 8c1d2f3e-4b5a-4c6d-8e7f-9a0b1c2d3e4f
                      type: user
                      attributes:
                        email: ops@example.com
                        name: Jordan Lee
                        role: account_manager
                        job_role: forwarder
                        job_title: Operations lead
                        admin: false
                      relationships:
                        accounts:
                          data:
                          - id: b7e2c9a1-5d3f-4e8b-9c0a-1f2e3d4c5b6a
                            type: account
                API key on a free plan:
                  value:
                    data:
                      id: 0d2c1b8a-7f6e-4d5c-9b8a-3e2f1d0c9b8a
                      type: credential
                      attributes:
                        kind: api_key
                        channel: api
                        name: Production key
                        features:
                          data_out_api:
                            status: requires_paid_plan
                          custom_fields:
                            status: requires_user_credential
                          routing_data:
                            status: not_enabled
                          rail_data:
                            status: not_enabled
                          stop_tracking:
                            status: requires_paid_plan
                          trade_intel:
                            status: not_enabled
                      relationships:
                        account:
                          data:
                            id: b7e2c9a1-5d3f-4e8b-9c0a-1f2e3d4c5b6a
                            type: account
                        user:
                          data: null
                    included:
                    - id: b7e2c9a1-5d3f-4e8b-9c0a-1f2e3d4c5b6a
                      type: account
                      attributes:
                        company_name: Acme Logistics
                        company_type: shipper
                        scac: null
                        abbr_name: ACME
                        city: Oakland
                        state_abbr: CA
                        country: United States
                        plan: free_plan
                        tracking_slots:
                          limit: 10
                          used: 4
                          active_containers: 3
                          pending_tracking_requests: 1
                          remaining: 6
        '401':
          description: Unauthorized. The credential is missing, invalid, disabled, or names an account it cannot access.
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      $ref: '#/components/schemas/error'
components:
  schemas:
    credential:
      title: Credential model
      description: The credential that authenticated the current request. Returned only by `GET /me`.
      type: object
      required:
      - id
      - type
      - attributes
      - relationships
      properties:
        id:
          type: string
          format: uuid
          description: The API key id when `kind` is `api_key`, otherwise the user id.
        type:
          type: string
          enum:
          - credential
        attributes:
          type: object
          required:
          - kind
          - channel
          - features
          properties:
            kind:
              type: string
              enum:
              - api_key
              - user
              description: '`api_key` for `Authorization: Token`, `user` for a signed-in user''s Bearer token.'
            channel:
              type: string
              enum:
              - api
              - dashboard
              - mcp
              - askt49
              description: 'How the credential reached Terminal49: a direct API call, the dashboard, an MCP connected client, or the AskT49 agent.'
            name:
              type:
              - string
              - 'null'
              description: The API key's label from the developer portal. `null` for user tokens.
            features:
              type: object
              description: Whether this credential can use each gated feature on the current account. Keys are stable; new keys may be added.
              required:
              - data_out_api
              - custom_fields
              - routing_data
              - rail_data
              - stop_tracking
              - trade_intel
              properties:
                data_out_api:
                  $ref: '#/components/schemas/feature_availability'
                custom_fields:
                  $ref: '#/components/schemas/feature_availability'
                routing_data:
                  $ref: '#/components/schemas/feature_availability'
                rail_data:
                  $ref: '#/components/schemas/feature_availability'
                stop_tracking:
                  $ref: '#/components/schemas/feature_availability'
                trade_intel:
                  $ref: '#/components/schemas/feature_availability'
              additionalProperties:
                $ref: '#/components/schemas/feature_availability'
        relationships:
          type: object
          required:
          - account
          - user
          properties:
            account:
              type: object
              description: The account this credential is scoped to.
              properties:
                data:
                  type: object
                  required:
                  - id
                  - type
                  properties:
                    id:
                      type: string
                      format: uuid
                    type:
                      type: string
                      enum:
                      - account
              required:
              - data
            user:
              type: object
              description: The signed-in user. `data` is `null` for an API key unless the request also carried `x-user-email`.
              properties:
                data:
                  type:
                  - object
                  - 'null'
                  required:
                  - id
                  - type
                  properties:
                    id:
                      type: string
                      format: uuid
                    type:
                      type: string
                      enum:
                      - user
              required:
              - data
    error:
      title: Error model
      type: object
      properties:
        detail:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        source:
          type:
          - object
          - 'null'
          properties:
            pointer:
              type:
              - string
              - 'null'
            parameter:
              type:
              - string
              - 'null'
        code:
          type:
          - string
          - 'null'
        status:
          type:
          - string
          - 'null'
        meta:
          type:
          - object
          - 'null'
          additionalProperties: true
    credential_user:
      title: Credential user
      description: The signed-in user as `GET /me` describes them to themselves.
      type: object
      required:
      - id
      - type
      - attributes
      - relationships
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
          - user
        attributes:
          type: object
          required:
          - email
          - admin
          properties:
            email:
              type: string
              format: email
            name:
              type:
              - string
              - 'null'
            role:
              type: string
              enum:
              - member
              - account_manager
              description: '`account_manager` can manage the account''s users and billing.'
            job_role:
              type:
              - string
              - 'null'
              enum:
              - other
              - dispatcher
              - driver
              - broker
              - shipper
              - forwarder
              - null
            job_title:
              type:
              - string
              - 'null'
            admin:
              type: boolean
              description: '`true` only for Terminal49 staff.'
        relationships:
          type: object
          properties:
            accounts:
              type: object
              description: Every open account this user can select with `x-account-id`.
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      type:
                        type: string
                        enum:
                        - account
                    required:
                    - id
                    - type
              required:
              - data
          required:
          - accounts
    feature_availability:
      title: Feature availability
      type: object
      required:
      - status
      properties:
        status:
          type: string
          enum:
          - available
          - requires_paid_plan
          - requires_user_credential
          - not_enabled
          description: '`available`: this credential can use the feature on this account. `requires_paid_plan`: the account''s plan does not include it. `requires_user_credential`: only a signed-in user may use it, not an API key. `not_enabled`: the feature is not turned on for this account.'
    credential_account:
      title: Credential account
      description: An account as `GET /me` describes it. Narrower than the `account` relationship elsewhere in the API.
      type: object
      required:
      - id
      - type
      - attributes
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
          - account
        attributes:
          type: object
          required:
          - company_name
          properties:
            company_name:
              type: string
            company_type:
              type:
              - string
              - 'null'
              enum:
              - trucking_company
              - freight_forwarder
              - customs_broker
              - shipper
              - terminal_49
              - contractor
              - software_company
              - party_logistic
              - other
              - null
              description: The business type the account declared. `shipper` is a cargo owner (importer or exporter); `freight_forwarder` and `customs_broker` are service providers.
            scac:
              type:
              - string
              - 'null'
            abbr_name:
              type:
              - string
              - 'null'
              description: Four-letter account abbreviation.
            city:
              type:
              - string
              - 'null'
            state_abbr:
              type:
              - string
              - 'null'
            country:
              type:
              - string
              - 'null'
            plan:
              type:
              - string
              - 'null'
              enum:
              - free_plan
              - in_trial
              - customer
              - locked
              - churned
              - null
              description: The account's billing lifecycle state.
            tracking_slots:
              type:
              - object
              - 'null'
              description: Tracking-slot usage on free and trial plans. `null` when the plan is not slot-limited. Present only on the account the credential is scoped to.
              required:
              - limit
              - used
              - active_containers
              - pending_tracking_requests
              - remaining
              properties:
                limit:
                  type: integer
                  description: Tracking slots the plan allows.
                used:
                  type: integer
                  description: 'Slots in use: active containers plus pending tracking requests that reserve capacity, deduplicated by container number.'
                active_containers:
                  type: integer
                  description: Slots held by containers that are currently being tracked.
                pending_tracking_requests:
                  type: integer
                  description: Slots reserved by tracking requests that have not resolved yet (`pending` or `awaiting_manifest`).
                remaining:
                  type: integer
                  description: Slots still available, never below zero.
  securitySchemes:
    authorization:
      name: Authorization
      type: apiKey
      in: header
      description: 'Use a Terminal49 API key in the `Authorization` header with the `Token` prefix.


        `Authorization: Token YOUR_API_KEY`'
x-tagGroups:
- name: End Points
  tags:
  - Shipments
  - Containers
  - Custom Field Definitions
  - Custom Field Options
  - Custom Fields
  - Tracking Requests
  - Webhooks
  - Webhook Notifications
  - Metro Areas
  - Documents
  - Email Submissions
  - Document Schemas
  - Search
- name: Routing (Paid)
  tags:
  - Routing (Paid)
- name: Trade Intelligence
  tags:
  - Trade Intelligence