Discussions

Ask a Question
Back to All

Why my access token is not working ?

So the authorization part of Dialpad is working fine but the access token that I'm receiving after successful authorization I guess it is an invalid one.
The Authorization is done using OAuth2.

Here is the response I'm getting after hitting the "Create Webhook" API using the fresh access token:

status: 401 unauthorized
{
"error": {
"code": 401,
"errors": [
{
"domain": "global",
"message": "A valid API key must be provided.",
"reason": "required"
}
],
"message": "A valid API key must be provided."
}
}