Skip to Content
StriseConnect
Mutations

privatePersonContactCreate

Save a contact on a private person. The first contact on a person becomes their primary contact.

Required permission: entity_contacts:write

Response fields with their own permission:

mutation PrivatePersonContactCreate($where: PrivatePersonContactCreateInput!) {
  privatePersonContactCreate(where: $where) {
    success
    contact {
      id
      name
      email
      phone
      isPrimary
      lastUsedAt
      createdAt
      updatedAt
      linkedPerson {
        id
        name
      }
    }
  }
}
input PrivatePersonContactCreateInput {
  privatePerson: PrivatePersonId!
  name: String!
  email: String
  phone: String
  makePrimary: Boolean
}

Arguments

where PrivatePersonContactCreateInput! non-null input

PrivatePersonContactCreateInput!

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