Skip to content

docs(contacts): document 409 Conflict on Create contact#543

Open
VarshSuresh wants to merge 1 commit into
mainfrom
varsh.suresh/document-contacts-409-conflict
Open

docs(contacts): document 409 Conflict on Create contact#543
VarshSuresh wants to merge 1 commit into
mainfrom
varsh.suresh/document-contacts-409-conflict

Conversation

@VarshSuresh
Copy link
Copy Markdown
Contributor

Why?

POST /contacts can return a 409 Conflict when a contact with matching details already exists, but the response was not described in the spec — so generated SDKs and integrators had no typed signal to handle it. This also covers the distinct archived-contact case, which returns the same status with a different message.

How?

Adds a 409 response to the Create contact operation across all description versions (2.72.15 and 0), with two named examples — a live duplicate and an archived duplicate — both referencing the shared error schema.

Generated with Claude Code

Add the 409 Conflict response to POST /contacts across all description
versions (2.7-2.15 + 0/Preview), with two named examples: a live-duplicate
and an archived-duplicate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@VarshSuresh VarshSuresh marked this pull request as ready for review June 8, 2026 16:43
@VarshSuresh VarshSuresh requested a review from a team June 8, 2026 16:46
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.

2 participants