Space Docs
API ReferenceProject Contact

projectContact.assign

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
projectIdstring.uuidYes—ID of the associated project
contactIdstringYes—ID of the associated contact
roleenum(requester, approver, change_order_approver, closeout_recipient, billing_contact, site_contact, after_hours_contact, stakeholder)Yes—Role
roleDetailunknownNo—Role detail
isPrimarybooleanYesfalseIs primary
communicationAllowedboolean,nullNo—Communication allowed
notesunknownNo—Notes

Example

{
  "projectId": "550e8400-e29b-41d4-a716-446655440000",
  "contactId": "550e8400-e29b-41d4-a716-446655440000",
  "role": "requester",
  "roleDetail": null,
  "isPrimary": false,
  "communicationAllowed": null
}

On this page