Last updated
Was this helpful?
Last updated
Was this helpful?
UCI provides APIs to fetch the conversation history against a bot or a user.
Use below API to fetch the history against a bot. **** This API uses below required parameters to fetch the user history.
userId: Phone number of user
provider: Conversation provider. Eg. gupshup
start & end date: Conversations between start & end date.
Limitation: This API can provide maximum 1000 conversations.
Use below API to fetch the history against a user. This API uses below required parameters to fetch the user history.
botId: Conversation id
provider: Conversation provider. Eg. gupshup
start & end date: Conversations between start & end date.
Limitation: This API can provide conversations for 15 days only.
Use below API to fetch the history against a user for a specific bot. This API uses below required parameters to fetch the history.
botId: Conversation id
userId: Phone number of user
provider: Conversation provider. Eg. pwa
start & end date: Conversations between start & end date.
Limitation: This API can provide maximum 1000 conversations.
These APIs will give the response in below format.
Below is the flow diagram of how the history API works.