Otter · JSON Structure

Public Api Hydra Token Structure

HydraToken schema from Public API (Otter Public API).

Type: object Properties: 4
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

access_token expires_in scope token_type

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/otter/refs/heads/main/json-structure/public-api-hydra-token-structure.json",
  "name": "HydraToken",
  "description": "HydraToken schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "The auth token used when consuming the API endpoints.",
      "example": "oMahtBwBbnZeh4Q66mSuLFmk2V0_CLCKVt0aYcNJlcg.yditzjwCP7yp0PgR6AzQR3wQ1rTdCjkcPeAMuyfK-NU"
    },
    "expires_in": {
      "type": "int64",
      "description": "The token expiration time in seconds.",
      "example": 2627999
    },
    "scope": {
      "type": "string",
      "description": "The scopes available for the token.",
      "example": "ping orders.create"
    },
    "token_type": {
      "type": "string",
      "description": "The token type is always \"bearer\".",
      "example": "bearer"
    }
  }
}