Versions Compared

Key

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

Request parameters

Header parameters

content-

...

Type

Required The content-typeType parameter describes the type of the content that you send in the request body. The token endpoint can only accept URL encoded content so you must set the content-type parameter to application/x-www-form-urlencoded.

Example content-typeType: application/x-www-form-urlencoded

...

Code Block
languagejs
themeMidnight
curl -X POST \
  https://emea.newvoicemedia.com/Auth/connect/token \
  -H 'content-typeType: application/x-www-form-urlencoded' \
  -d 'grant_type=client_credentials&client_id=abcde&client_secret=12345&scope=agents-availability%3Aread'

...