chatwoot / chatwoot/docs

doc: Update required fields for Create Contact API

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
89
Forks
178
PR merge metrics
No merged PRs in 30d

Description

When I was trying to create a contact through the API, I was getting Bad request response. The API docs said it would give me appropriate error messages but it didn't unfortunately. Anyway, I found out it was because I was not sending the name field in request body. It simply doesn't make sense to create a contact without a name :sweat_smile: Even though I still feel it's better to update the docs.

https://www.chatwoot.com/developers/api/#operation/contactCreate
![image](https://user-images.githubusercontent.com/33366456/148670918-b2c57519-e8cd-4b93-a9f3-002637d2b266.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.