API ReferenceContact
contact.create
Type: Mutation · Auth: Workspace-aware
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| organizationId | string | Yes | — | ID of the associated organization |
| firstName | string | Yes | — | First name |
| lastName | string | Yes | — | Last name |
| title | string,null | No | — | Title |
unknown | No | — | ||
| phone | string,null | No | — | Phone |
| mobile | string,null | No | — | Mobile |
| roleTags | string[] | Yes | [] | Role tags |
| preferredContactMethod | enum(email, phone, mobile, portal) | No | — | Preferred contact method |
| portalAccessStatus | enum(none, invited, active, suspended) | Yes | "none" | Portal access status |
| status | enum(active, inactive) | Yes | "active" | Status |
| notesSummary | string,null | No | — | Notes summary |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | unknown | No | — | Visibility mode |
Example
{
"organizationId": "550e8400-e29b-41d4-a716-446655440000",
"firstName": "John",
"lastName": "Doe",
"title": null,
"email": null,
"phone": null,
"roleTags": [],
"portalAccessStatus": "none",
"status": "active"
}