Discussions
Difference in response when API key is invalid
over 1 year ago by null
Hello.
Our application receives an API key from the user and imports call recordings into the application.
At this time, we anticipate that access to dialpad information such as recorded data will fail due to expiration or lack of permissions.
I'm looking to notify the user if access fails, but I'd like to determine if the reason for the failure is due to expiration or lack of permissions.
I can't test whether there is a difference in the response because I can't prepare an expired API key.
Is there a difference in the specifications for the response when a request fails due to expiration or lack of permissions?