You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot create a Contact with email, external_id and role in a single API call #404
Each type carries only one of the three identifiers. There is no request class that lets you create a contact with all three populated in the same POST /contacts body.
The REST endpoint itself accepts them together, so this is a property of the SDK's generated types, not the API.
The forced workaround I have to use is this two-step create-then-update:
POST /contacts with email only via CreateContactRequestWithEmail
PATCH /contacts/{id} with external_id + role + everything else
Solution: a request that merges the different bodies:
Activity