# contactCreate

Create a contact

**Scope required:** standard:write

For a complete list of input attributes see the [ContactAttributes](https://docs.bunny.com/developer/api-reference/types/contactattributes) type

```graphql
mutation contactCreate ($attributes: ContactAttributes!) {
  contactCreate (attributes: $attributes) {
      contact {
        accountId
        code
        createdAt
        customFieldsData
        description
        email
        entityId
        firstName
        fullName
        hasCustomFields
        id
        lastName
        linkedinUrl
        mailingCity
        mailingCountry
        mailingState
        mailingStreet
        mailingZip
        mobile
        phone
        portalAccess
        salutation
        title
        updatedAt
      }
      errors
  }
}
```

## Arguments

```json
{
  "attributes": {
    "code": "",
    "firstName": "",
    "lastName": "",
    "email": "",
    "salutation": "",
    "title": "",
    "phone": "",
    "mobile": "",
    "mailingStreet": "",
    "mailingCity": "",
    "mailingZip": "",
    "mailingState": "",
    "mailingCountry": "",
    "portalAccess": true,
    "description": "",
    "accountId": "456123",
    "accountCode": "",
    "campaignCode": "",
    "linkedinUrl": ""
  }
}
```

| Name       | Type                                                                                        | Description |
| ---------- | ------------------------------------------------------------------------------------------- | ----------- |
| attributes | [ContactAttributes](https://docs.bunny.com/developer/api-reference/types/contactattributes) |             |

## Response

| Name    | Type                                                                    | Description |
| ------- | ----------------------------------------------------------------------- | ----------- |
| contact | [Contact](https://docs.bunny.com/developer/api-reference/types/contact) |             |
| errors  | List (String)                                                           |             |
