Using the conversation api

Hi!
Im trying to use the conversation api to get a member of a conversation

I'm using

https://api.mypurecloud.ie/api/v2/webchat/guest/conversations//members/

I checked the api explorer and on this endpoint it says:

This resource uses an authentication method other than PureCloud OAuth and cannot be tested using the API Explorer.

I also tried to use it by having the Authorization token, but then I get:

{
"status": 403,
"code": "not.authorized",
"message": "You are not authorized to perform the requested action."
}

What kind of authorization is needed here?

I understand now that the authorization token needed for using this api is the token received when you create a new chat with https://api.mypurecloud.ie/api/v2/webchat/guest/conversations.

But is there a way to get this jwt token after the chat has been created?

You need to keep track of the token after you receive it.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.