Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All requests to the token endpoint return various standard HTTP headers, including the response status code, and a response body in JSON format.

...

HTTP/1.1 CODE MESSAGE
Content-Type: application/json; charset=utf-8
Content-Length: 7

The response body contains either the requested information or an error message:

...

Code Block
languagejs
themeMidnight
{
  "error": "invalid_scope",
  "error_description": "\"newvoicemediavonage/api/stats\" is an invalid scope"
}

...