Skip to content

Fix incorrect inbox_id attribute on ContactInbox - #7

Open
Skipants wants to merge 1 commit into
chatwoot:mainfrom
Skipants:fix-contact-missing-inbox-id
Open

Fix incorrect inbox_id attribute on ContactInbox#7
Skipants wants to merge 1 commit into
chatwoot:mainfrom
Skipants:fix-contact-missing-inbox-id

Conversation

@Skipants

Copy link
Copy Markdown

The API for chatwoot returns a subset fragment of Inbox when using search, get, and update of the Contact API. This commit models our data objects around that instead of the non-existent inbox_id. inbox_id is now deprecated.

See https://github.com/chatwoot/chatwoot/blob/develop/swagger/definitions/resource/contact_inbox.yml for the Swagger schema that demonstrates this API response structure

AI Disclosure: Used Claude to rubber-duck the problem. Claude wrote the inbox_id deprecation field. Rest is hand written.

The API for chatwoot returns a subset fragment of Inbox when using search, get, and update of the Contact API. This commit models our data objects around that instead of the non-existent inbox_id. inbox_id is now deprecated.

See https://github.com/chatwoot/chatwoot/blob/develop/swagger/definitions/resource/contact_inbox.yml for the Swagger schema that demonstrates this API response structure

AI Disclosure: Used Claude to rubber-duck the problem. Claude wrote the inbox_id deprecation field. Rest is hand written.
@Skipants
Skipants force-pushed the fix-contact-missing-inbox-id branch from f3ef067 to 04939a7 Compare July 30, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant