Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete API response #9488

Open
TheProcedural opened this issue May 16, 2024 · 1 comment
Open

Incomplete API response #9488

TheProcedural opened this issue May 16, 2024 · 1 comment
Labels

Comments

@TheProcedural
Copy link

TheProcedural commented May 16, 2024

Describe the bug

Conversation details' response only contains the last message of the conversation and get conversation messages is also incomplete, only has a few more messages. Pagination doesn't seem to be a thing, I also tried that.

Update:

image
Anlysing your web app I noted that this actually looks like a lack of documentation. I realised that pagination is just a query param with the the id of the payload. So I suppose you just need to add this to the docs.

To Reproduce

Fetch one conversation as described in the link below

https://www.chatwoot.com/developers/api/#tag/Conversations/operation/get-details-of-a-conversation

or

https://www.chatwoot.com/developers/api/#tag/Messages/operation/list-all-messages

this second options will respond with more messages but still not all of them and pagination doesn't seem to exist in neither

Expected behavior

To have all the messages in the conversation as the docs say the response should.

Environment

app.chatwoot.com

Cloud Provider

None

Platform

None

Operating system

No response

Browser and version

No response

Docker (if applicable)

No response

Additional context

No response

Copy link

linear bot commented May 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant