Discussions
Stuck trying to authenticate
Hey, I want to authenticate with the API and have tried to follow the instructions but am getting an error.
I am trying this: <https://docs.talkdesk.com/reference/authorization-code-basic-post> as instructed by encoding my client ID and client secret but am still getting a weird error below.
{"error":"invalid_client","error_description":"Unauthorized grant type: authorization_code"}
I am copying the python code almost exactly as it is in the instructions. Please could I get a call with technical support on this? Thanks
Posted by Morgan 17 days ago
Issues generating an API Key to connect to Airbyte
Hi there,
I'm trying to create a connection between Airbyte and Talkdesk.
Airbyte basically asks for:
- Talkdesk account [account_name]
- Talkdesk API key (Client Credentials auth method)
My issue comes when trying to get the Talkdesk API, using client credentials auth method.
The Administrator provided me a OAuth Client credentials .json, with the following fields: id, secret, public_key, private_key and key_id.
What I did first is I’ve encoded the id and secret fields of the json by running in the terminal the following command:
```shell
echo -n 'id:secret' | base64
```
This gave me as an output an encoded string: let's call it "xyz". I’ve used this string then to make a post request as it follows:
```curl
curl -X POST <https://account_name.talkdeskid.com/oauth/token>
-H 'Authorization: Basic xyz'
-H 'Content-Type: application/x-www-form-urlencoded'
-d 'grant_type=client_credentials'
```
Where xyz is the encoded string and account_name the talkdesk account
Unfortunately, I could just get a 401 error, like the following.
```curl
{"code":"401 UNAUTHORIZED","message":"Unauthorized"}%
```
Can you help me understanding what went wrong?
Also, is this the correct path to get the API Key as mentioned by Airbyte? Thanks a lot!
Posted by giuseppe about 2 months ago
what are the brief technical requirements for my app to be in the AppConnect marketplace ? Are there any specific boot time limit or endpoints limit?
Please let me know the brief details that my app requires to be in appconnect.
Posted by Thomas 2 months ago
How to call guardian API
I don't know how to be authorized while calling the guardian API
in any non-guardian API, there is a variable called Authorization
Which allows me to put (Bearer <ACCESS_TOKEN>) and get authorized
while this is not available in guardian API
Posted by [email protected] 4 months ago
What is the difference between guardian and basic API
Could anyone illustrate the difference between
https://api.talkdeskapp.com/guardian/users
https://api.talkdeskapp.com/users
when to use each one of them?
Posted by [email protected] 4 months ago
Get the count of agents currently logged in to a ring group
Hi Team,
I would like to seek assistance if there is a way to create a function to get the number of agents currently logged in to a ring group? I will be using this function inside studio. The scenario will be is if there is currently an agent logged in to the ring group, the call will be routed to ring group and if there is no agent logged in, the call will be routed to a voicemail.
Thank you!
Posted by Jasper Arcilla 4 months ago
How To Assign / Remove Ring Groups To / From A User Through TalkDesk API?
Good day Dev Teams!
I went through this a while back, and I know that officially this feature is not supported by the current TD API. We can only read Ring Groups.
However, when going through the TalkDesk Web Admin, through the option Admin -> Agents WebUI, and when configuring a certain Agent's Ring Groups, we can see the WebUI using an API Call to setup the Ring Groups for that specific Agent.
https://api.talkdeskapp.com/users/626ff953ed94fc63bf949843/ring-groups
Where "626ff953ed94fc63bf949843" is the UserID in this case.
As an example, for the Ring Groups "agents" and "test", we can see these parameters being passed to the API:
{"ring_groups": [ "agents", "test"]}
My question is: how can this be used through the API and from the programming perspective?
Is it possible to get this done?
P.S.: I have created an IDEA (feature request) about this feature during the last year, but I cannot see it in the Ideas list anymore... 😞
Thank you!
Posted by Ricardo Pereira 4 months ago
Auto-delete chat messages, history and logs
Is it possible to auto-delete chat messages, history and logs once the conversation has ended? We are a healthcare team that stores sensitive data and want to delete it as quickly as we can
Posted by Abigail 5 months ago
Anonymous Users
Is it possible to have anonymous or un-authenticated users access the chat bot?
Posted by Abigail 5 months ago
Get the list of Attributes
Hello,
I tried to call the attributes API following the instructions shown in the below link. I generated a bearer token and passed the token details to the postman. When I make a call, it gives me an authorization error. When I did the same with the Explore API, I got the reports, and the same thing is not working while calling the other APIs ( Attributes, Guardians Case, Guardian Sessions, Guardian Users, Guardian Call Quality ). Is there a different way to call these API's?
Attributes documentation:
https://docs.talkdesk.com/reference/attributes-list
API link:
https://api.talkdeskapp.com/attributes
Error Message:
{
"code": "0011016",
"message": "Unauthorized"
}
Posted by [email protected] 5 months ago