Hello,
I have set up an application that authenticates the user using the code authorization grant type. This access token is used to call the /api/v2/conversations/faxes endpoint with the following payload:
{
"name": "test",
"addresses": ["{valid fax number}"],
"documentId": "895fc4d5-d55e-418a-9f6c-9340d5470f4e"
}
The documentId is valid, and the user attempting to send the fax is a member of the containing workspace and was even the user to have uploaded the document.
The user should have all required permissions (in fact we assigned the user an admin role to test if permissions were the issue), and the OAuth client has the following scopes: content-management, content-management:readonly, conversations, conversations:readonly, fax, fax:readonly
This is the response from the API call:
{
"message": "Invalid login credentials.",
"code": "bad.credentials",
"status": 401,
"contextId": "7da52e1a-3d61-4852-a552-daf8fe1116ed",
"details": [],
"errors": []
}
I verified that the access token used is still valid, and tried with a brand new token, but it continues to fail. If anyone sees something I am doing wrong, please let me know as we are working to replace our organization's internal phone system with Genesys Cloud and building this faxing solution is paramount.
Thank you,
Branson