Skip to content
Discussion options

You must be logged in to vote

Guys, I finally managed to resolve the issue, which was occurring due to incorrect information in the API documentation, which I humbly suggest be updated.

This link provides instructions on how to CREATE a conversation.
https://developers.chatwoot.com/api-reference/conversations/create-new-conversation

One of the required parameters is the source_id:

The thing is, this parameter is not required (at least when trying to send a template) and if you try to generate any random number just to not sent it in blank, it will result in error.

What I did was simply not send it. I used the same code shown above. The only difference was that I didn't send the source_id:

{
"inbox_id": 1,
"contact_id…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@rpetribu
Comment options

Comment options

You must be logged in to vote
3 replies
@munawar050
Comment options

@muhsin-k
Comment options

@rpetribu
Comment options

Comment options

You must be logged in to vote
1 reply
@munawar050
Comment options

Answer selected by rpetribu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants