Skip to content

docs(preview): document updatable fields and tag add/remove on POST /contacts/bulk#538

Open
kstenson wants to merge 1 commit into
mainfrom
kstenson/preview-bulk-contacts-tags
Open

docs(preview): document updatable fields and tag add/remove on POST /contacts/bulk#538
kstenson wants to merge 1 commit into
mainfrom
kstenson/preview-bulk-contacts-tags

Conversation

@kstenson
Copy link
Copy Markdown
Contributor

@kstenson kstenson commented Jun 4, 2026

Why?

The Preview spec documented the original POST /contacts/bulk endpoint but predated inline tag management, and its request schema listed only a subset of the fields the endpoint actually accepts. This brings the docs up to date with the endpoint's current behaviour.

How?

  • Documents the full set of updatable fields the endpoint accepts (user_id, phone, owner_id, unsubscribed_from_emails, avatar, custom_attributes, companies, company) and notes that any other fields in a contact object are ignored.
  • Adds a tags object (add/remove arrays of { id }) to each contact so tags can be added or removed inline.
  • Adds a tag request example and the missing-id 422 example.

Tag application is best-effort and asynchronous: unknown tag IDs are skipped and per-tag results are not returned in the job status, so no synchronous tag-error response is documented.

Companions

Generated with Claude Code

@kstenson kstenson self-assigned this Jun 4, 2026
@kstenson kstenson marked this pull request as ready for review June 4, 2026 17:13
@kstenson kstenson enabled auto-merge (squash) June 4, 2026 17:20
…contacts/bulk

- Documents the full set of updatable fields the endpoint accepts
  (user_id, phone, owner_id, unsubscribed_from_emails, avatar,
  custom_attributes, companies, company) and notes that other fields
  are ignored.
- Adds a `tags` object (add/remove arrays of `{ id }`) to each contact.
- Adds a tag request example and the missing-`id` 422 example.

Tag application is best-effort and asynchronous: unknown tag IDs are
skipped and per-tag results are not yet returned in the job status, so
no synchronous tag-error response is documented.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eredi93 eredi93 force-pushed the kstenson/preview-bulk-contacts-tags branch from e98d502 to e41f01a Compare June 4, 2026 22:32
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