---
updatedAt: 2026-08-20T04:59:43.000Z
agentTools:
  projectIndex: https://developer.avinodegroup.com/llms.txt
---

# OAUTH standard compliant token endpoint

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Avinode APIs",
    "version": "2026-11-12T06:10:45.915483541Z"
  },
  "externalDocs": {
    "description": "Avinode Group Devportal",
    "url": "https://developer.avinodegroup.com"
  },
  "servers": [
    {
      "url": "https://sandbox.avinode.com/api",
      "description": "Avinode (development)"
    },
    {
      "url": "https://sandbox-schedaero.avinode.com/api"
    }
  ],
  "security": [
    {
      "Bearer": []
    }
  ],
  "tags": [
    {
      "name": "OAUTH support",
      "description": ""
    }
  ],
  "paths": {
    "/oauth/token": {
      "post": {
        "tags": [
          "OAUTH support"
        ],
        "summary": "OAUTH standard compliant token endpoint",
        "operationId": "tokenRequest",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "X-Avinode-SentTimestamp",
            "in": "header",
            "description": "ISO8601 Timestamp",
            "schema": {}
          },
          {
            "name": "X-Avinode-ApiToken",
            "in": "header",
            "description": "API Token",
            "required": false,
            "schema": {}
          },
          {
            "name": "X-Avinode-Product",
            "in": "header",
            "description": "Calling product / software (ex: AcmeApp-v10.2)",
            "schema": {}
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "grant_type": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "client_id": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "client_secret": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "client_assertion_type": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "client_assertion": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "subject_token": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "subject_token_type": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "requested_token_type": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "scope": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "expiresInMinutes": {
                    "type": "array",
                    "description": "The requested access token lifetime in minutes.  Must be >= 1 and <= 120.  Defaults to 30 if unspecified.",
                    "items": {
                      "type": "integer",
                      "format": "int64"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OauthTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OAUTHErrorResponseBody"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OAUTHErrorResponseBody"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ]
      },
      "servers": [
        {
          "url": "https://sandbox.avinode.com/api",
          "description": "Avinode (development)"
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "OAUTHError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      },
      "OAUTHErrorResponseBody": {
        "type": "object",
        "description": "An OAUTH error response",
        "externalDocs": {
          "url": "https://datatracker.ietf.org/doc/html/rfc6749#section-5.2"
        },
        "properties": {
          "error": {
            "type": "string",
            "description": "Error code."
          },
          "errorDetails": {
            "type": "array",
            "description": "Details about each individual error.",
            "items": {
              "$ref": "#/components/schemas/OAUTHError"
            }
          },
          "debugDetails": {
            "type": "string",
            "description": "Technical details about the error."
          },
          "error_description": {
            "type": "string",
            "description": "A human readable description of the error."
          },
          "error_uri": {
            "type": "string",
            "description": "A URI identifying a human-readable web page with information about the error"
          }
        },
        "required": [
          "error"
        ]
      },
      "OauthTokenResponse": {
        "type": "object",
        "description": "An OAUTH access token response",
        "properties": {
          "scope": {
            "type": "string",
            "description": "The token scope"
          },
          "access_token": {
            "type": "string",
            "description": "The access token"
          },
          "expires_in": {
            "type": "integer",
            "format": "int32",
            "description": "The lifetime in seconds of the access token"
          },
          "token_type": {
            "type": "string",
            "description": "The token type",
            "externalDocs": {
              "url": "https://datatracker.ietf.org/doc/html/rfc6749#section-7.1"
            }
          }
        },
        "required": [
          "access_token",
          "token_type"
        ]
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}
```