Conversation APIs
/- Conversation Manager
- V3
/
Get Authentication
Use this API to get details of existing Authentication types in the Conversation Manager.
Client application must have 'app.conversation.conversationmgr.manage' or 'app.conversation.conversationmgr.read' scope assigned.
Security
oAuthClient(Required scopes:
https://api.egain.cloud/auth/.de...
)- Production Serverhttps://api.egain.cloud/conversation/conversationmgr/v3/authentications/{id}
curl -i -X GET \
https://api.egain.cloud/conversation/conversationmgr/v3/authentications/7b6c5fff-036e-4a40-b68a-a67c592fc079 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'OK
One of:
OAuth type authentication for callback APIs specified in Client application. Conversation Hub will generate token using this API and use it until it receives 401 from callback API
Response
{ "id": "34fbb53f-ed7f-48d4-b545-e26cc95e075d", "name": "custom_bot_callback_authentication", "type": "oauth2", "oauth2": { "tokenRequestUrl": "https://acme.support.com/clientapp/accesstoken", "method": "POST", "headers": [ … ], "payload": "{ \"clientId\": \"c987cbfc-d59c-11ea-87d0-0242ac130003\",\"clientSecret\": \"c987cde6-d59c-11ea-87d0-0242ac130003\",\"refreshToken\": \"c987cee0-d59c-11ea-87d0-0242ac130003\"}", "accessTokenPath": "$.accessToken" }, "created": "2021-03-28T14:29:01.516Z", "modified": "2021-03-28T14:29:01.516Z" }