Skip to main content
Mutation

assignContactToProject

Assigns a contact to a project, or updates the role, department, kind and access role of an existing assignment, and returns the assignment. Requires edit access to the project's people. Giving an editing role to a linked account outside the space uses an editor seat of the space's plan.

Arguments

Returns

ProjectContactAssignment!

Example

mutation AssignContactToProject($input: ProjectContactAssignmentInput!, $projectId: ID!) {
  assignContactToProject(input: $input, projectId: $projectId) {
    accessRole
    contactId
    createdAt
    department
    id
    kind
    projectId
    role
  }
}