Skip to Content
StriseConnect
Mutations

companyContactCreate

Save a contact on a company. The first contact on a company becomes its primary contact.

Required permission: entity_contacts:write

Response fields with their own permission:

mutation CompanyContactCreate($where: CompanyContactCreateInput!) {
  companyContactCreate(where: $where) {
    success
    contact {
      id
      name
      email
      phone
      isPrimary
      lastUsedAt
      createdAt
      updatedAt
      linkedPerson {
        id
        name
      }
    }
  }
}
input CompanyContactCreateInput {
  company: CompanyId!
  name: String!
  email: String
  phone: String
  linkedPerson: BusinessPersonId
  makePrimary: Boolean
}

Arguments

where CompanyContactCreateInput! non-null input

CompanyContactCreateInput!

Type

EntityContactPayload object

EntityContactPayload The payload for an entity contact mutation.

Response Fields

success Boolean! non-null scalar

Boolean!

contact EntityContact object

EntityContact The contact as it is after the mutation.

On this page