Toast · JSON Structure

Authentication Authentication Token Structure

Information about a Toast platform API session, including an authentication token string that your Toast API client software can present when using other Toast platform APIs.

Type: object Properties: 6
Food ServicePoint-of-SaleRestaurantHospitality

AuthenticationToken is a JSON Structure definition published by Toast, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

tokenType scope expiresIn accessToken idToken refreshToken

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast/refs/heads/main/json-structure/authentication-authentication-token-structure.json",
  "name": "AuthenticationToken",
  "description": "Information about a Toast platform API session, including an\nauthentication token string that your Toast API client software can\npresent when using other Toast platform APIs.\n",
  "type": "object",
  "properties": {
    "tokenType": {
      "description": "The OAuth 2 authentication scheme used for the authentication token.\nToast API authentication uses the bearer authentication scheme.\n",
      "type": "string",
      "example": "Bearer"
    },
    "scope": {
      "description": "The scope value in the authentication token request response is\n`null`. The `accessToken` JSON Web Token (JWT) contains the list of\n[scopes for your Toast API\nclient](https://dev.toasttab.com/doc/devguide/apiScopes.html).\n",
      "type": "string"
    },
    "expiresIn": {
      "description": "The number of seconds that the authentication token is valid. \n",
      "type": "int32",
      "example": 86400
    },
    "accessToken": {
      "description": "A JSON Web Token (JWT) string that contains an authentication token.\nYou [present this string when you make\nrequests](https://dev.toasttab.com/doc/devguide/authentication.html#using-authentication-token)\nto other Toast API resources. The JWT includes information about your\nToast API client.\n",
      "type": "string"
    },
    "idToken": {
      "description": "For internal use only.\n",
      "type": "string"
    },
    "refreshToken": {
      "description": "For internal use only.\n",
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/authentication-authentication-token-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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