Skip to main content
Version: v1.0.0(int)

E035: Add contact method

POST /api/contacts/:id/methods

Attaches an email or phone to a contact, with an optional label. Triggered from a contact detail panel.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.

Request

{ "type": "email", "value": "jane@example.com", "isPrimary": true }

type is "email" or "phone". Setting isPrimary: true demotes any existing primary of the same type.

Response — 201 Created

{ "id": "uuid", "contactId": "uuid", "methodType": "email", "value": "jane@example.com", "isPrimary": true }

Errors

HTTPcodeCondition
404not_foundNo such contact.
422validation_failedType / value shape invalid.

Workflow

Calls W035 Add contact method.