The Public Integration API enables you to perform certain actions with the Inbox Integration without the need to operate in the platform UI. With the Integration API, you can also control the inbox integration with chatbot logic.
Please use the following Endpoint URL for the Public Integration API:https://api.inbox.woztell.sanuker.com/v1.0/
To perform authentication for Integration APIs, it is needed to utilize the corresponding Payload and SignedContext which is required by the integration.
{"appIntegration":"appIntegrationId","app":"appId"}
(signature).{{base64(JSON.stringify(payload))}}
installedIntegrations
with Open API.Create Payload with in the following format:
{"appIntegration":"appIntegrationId","app":"appId"}
Encode the Payload Base64
format
Combine the encoded Payload and Signature in order to create the SignedContext in the following format:
(signature).{{base64(JSON.stringify(payload))}}
X-Woztell-Payload
and X-Woztell-SignedContext
.This API is for getting a list of threads.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
channelId | string | Filter Threads by Channel | No |
folderId | string | Filter Threads by Folder | No |
memberId | string | Filter Threads by Member | No |
externalId | string | Filter Threads by Member using ExternalId | No |
threadId | string | Filter Threads by Thread ID | No |
userId | string | Filter Threads by Assignee of the thread | No |
limit | integer | Controls the amount of threads return (Default value : 10) | No |
after | string | For getting next batch of threads, can be obtained from paging.cursors in the response | No |
before | string | For getting next batch of threads, can be obtained from paging.cursors in the response | No |
This API is for getting a list of inbox users.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
channelId | string | Filter Users by Channel (Agent Data like agentRole, name, email and icon are based on the Channel's Agent Data) | No |
folderId | string | Filter Users based on who has access to the Folder | No |
userId | string | Filter User by User's Woztell ID | No |
memberId | string | Filter User by Member | No |
externalId | string | Filter User by Member using ExternalId | No |
threadId | string | Filter User by ThreadId | No |
limit | integer | Controls the amount of users return Default value : 10 | No |
after | string | For getting next batch of users, can be obtained from paging.cursors in the response | No |
before | string | For getting previous batch of users, can be obtained from paging.cursors in the response | No |
This API is for assigning a thread to a specific folder.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
memberId | string | Member ID | Yes |
folderId | string | Folder ID | Yes |
This API is for adding or removing an assignee of a thread.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
memberId | string | Member ID | Yes |
userId | string | User ID of the team member | Yes |
The User ID of a team member can be obtained from the teamMembers
of Open API.
To add an assignee
To remove an assignee
This API is for updating the title of a thread.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
memberId | string | Id of the member belonging to the thread | Either memberId or threadId |
threadId | string | Id of the thread. | Either threadId or memberId |
title | string | The new thread title | Yes |
This API is for sending an internal message in a thread.
For the authentication, please follow this guide to fill in the X-Woztell-Payload and X-Woztell-SignedContext in the header.
Name | Type | Description | Required |
---|---|---|---|
threadId | string | Id of the member belonging to the thread | Either memberId or threadId |
memberId | string | Id of the thread. | Either threadId or memberId |
message | string | The internal message to be sent | Yes |