Space Docs
API ReferenceContact

contact.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
organizationIdstringYes—ID of the associated organization
firstNamestringYes—First name
lastNamestringYes—Last name
titlestring,nullNo—Title
emailunknownNo—Email
phonestring,nullNo—Phone
mobilestring,nullNo—Mobile
roleTagsstring[]Yes[]Role tags
preferredContactMethodenum(email, phone, mobile, portal)No—Preferred contact method
portalAccessStatusenum(none, invited, active, suspended)Yes"none"Portal access status
statusenum(active, inactive)Yes"active"Status
notesSummarystring,nullNo—Notes summary
workspaceIdstringNo—ID of the associated workspace
visibilityModeunknownNo—Visibility mode

Example

{
  "organizationId": "550e8400-e29b-41d4-a716-446655440000",
  "firstName": "John",
  "lastName": "Doe",
  "title": null,
  "email": null,
  "phone": null,
  "roleTags": [],
  "portalAccessStatus": "none",
  "status": "active"
}

On this page