# Contact data webhook

## Webhook

When the contact form is enabled in your vCard settings, you can configure a webhook that Signitic sends each time a visitor submits the form on one of your vCards.

The webhook is sent to the URL configured in your vCard settings and contains the information submitted by the contact.

### Payload

| Name              | Type                                                               | Description                                |
| ----------------- | ------------------------------------------------------------------ | ------------------------------------------ |
| date              | Datetime [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) | The moment the contact filled out the form |
| contact.email     | String or Null                                                     | The email of the contact                   |
| contact.firstname | String or Null                                                     | The first name of the contact              |
| contact.lastname  | String or Null                                                     | The last name of the contact               |
| contact.phone     | String or Null                                                     | The phone number of the contact            |
| contact.company   | String or Null                                                     | The company name of the contact            |
| employee.email    | String                                                             | The email of the owner of the vCard        |
| employee.fullName | String                                                             | The full name of the owner of the vCard    |

### Headers

| Name      | Type   | Description  |
| --------- | ------ | ------------ |
| x-api-key | String | Your API key |

You can use the `x-api-key` header as an additional verification layer to confirm that the payload was sent by Signitic.

{% tabs %}
{% tab title="Payload (example)" %}

```json
{
  "contact": {
    "firstname": "Jean",
    "lastname": "Dupont",
    "email": "jean.dupont@signitic.com",
    "phone": null,
    "company": null
  },
  "date": "2025-03-31T11:18:20+00:00",
  "employee": {
    "email": "john.doe@signitic.com",
    "fullName": "John Doe"
  }
}
```

{% endtab %}
{% endtabs %}
