---
updatedAt: 2026-05-27T08:20:29.000Z
agentTools:
  projectIndex: https://developers.youtrust.com/llms.txt
---

# contact.created

This event is triggered whenever a Contact is created.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Webhook Events",
    "version": "1.0.0",
    "description": "Stay in sync with your workflows in real time. Youtrust Webhooks allow your platform to receive instant updates on key events, helping you automate actions, improve responsiveness, and keep your users informed, effortlessly.",
    "contact": {
      "name": "Support",
      "url": "https://youtrust.com/contact",
      "email": "contact@youtrust.com"
    },
    "license": {
      "name": "proprietary",
      "url": "https://youtrust.com/terms"
    }
  },
  "webhooks": {
    "contact.created": {
      "post": {
        "summary": "contact.created",
        "description": "This event is triggered whenever a Contact is created.",
        "operationId": "contact-created",
        "tags": [
          "Contact Events"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ContactCreated"
        },
        "responses": {
          "2XX": {
            "$ref": "#/components/responses/Successful"
          },
          "3XX": {
            "$ref": "#/components/responses/Redirection"
          },
          "4XX": {
            "$ref": "#/components/responses/Error"
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Contact Events",
      "description": "Webhooks related to Contacts, triggered when a new Contact is created."
    }
  ],
  "components": {
    "schemas": {
      "Metadata": {
        "title": "Metadata",
        "type": "object",
        "properties": {
          "event_id": {
            "type": "string",
            "format": "uuid",
            "description": "A unique identifier for this webhook event.",
            "example": "d09f0367-d80a-309c-a2ed-7083991fc564"
          },
          "event_name": {
            "type": "string",
            "description": "The name of the webhook event that was triggered."
          },
          "event_time": {
            "type": "string",
            "description": "The timestamp (Unix epoch format) when the event occurred. It will stay constant even through retries.",
            "example": "1670855889"
          },
          "subscription_id": {
            "type": "string",
            "format": "uuid",
            "description": "The unique identifier of the webhook subscription that received this event.",
            "example": "d09f0367-d80a-309c-a2ed-7083991fc564"
          },
          "subscription_description": {
            "type": "string",
            "description": "Description of the webhook subscription.",
            "example": "Notifies our system when an even occurs."
          },
          "sandbox": {
            "type": "boolean",
            "description": "A boolean indicating whether this event was triggered in a sandbox environment (`true`) or in production (`false`).\n",
            "example": true
          }
        },
        "required": [
          "event_id",
          "event_name",
          "event_time",
          "subscription_id",
          "subscription_description",
          "sandbox"
        ]
      },
      "Locale": {
        "title": "Locale",
        "description": "Locale settings used for communication.",
        "enum": [
          "en",
          "fr",
          "de",
          "it",
          "nl",
          "es",
          "pl",
          "pt",
          "ro"
        ],
        "minLength": 2,
        "maxLength": 2,
        "example": "fr"
      },
      "Contact": {
        "title": "Contact",
        "description": "Newly created contact.",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the Contact.",
            "example": "550e8402-e29b-41d4-a716-446655440000"
          },
          "first_name": {
            "type": "string",
            "description": "First name of the Contact.",
            "example": "John"
          },
          "last_name": {
            "type": "string",
            "description": "Last name of the Contact.",
            "example": "Doe"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Email of the Contact.",
            "example": "john.doe@example.com"
          },
          "locale": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Locale"
              },
              {
                "description": "Locale of the Contact."
              }
            ]
          },
          "phone_number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Phone number of the Contact.",
            "example": "+41446667700"
          },
          "company_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company name of the Contact.",
            "example": "Acme Corp"
          },
          "job_title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title of the Contact.",
            "example": "Dynamic Communications Director"
          },
          "address_line_1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Primary address line, typically including street number and name.",
            "example": "742 Evergreen Terrace"
          },
          "address_line_2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Additional address information, such as apartment, suite, or building name.",
            "example": "Apt. 2B"
          },
          "address_city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City of the Contact’s address.",
            "example": "Springfield"
          },
          "address_postal_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code of the Contact’s address.",
            "example": "62704"
          },
          "address_country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country of the Contact’s address.",
            "example": "United States"
          },
          "workspace_id": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Unique identifier of the Workspace in which the Contact is visible.",
            "example": "550e8402-e29b-41d4-a716-446655440000"
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name",
          "email",
          "locale",
          "phone_number",
          "company_name",
          "job_title",
          "address_line_1",
          "address_line_2",
          "address_city",
          "address_postal_code",
          "address_country",
          "workspace_id"
        ]
      }
    },
    "requestBodies": {
      "ContactCreated": {
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Metadata"
                },
                {
                  "type": "object",
                  "properties": {
                    "event_name": {
                      "const": "contact.created",
                      "example": "contact.created"
                    },
                    "data": {
                      "type": "object",
                      "description": "Contains detailed information about the created Contact.",
                      "properties": {
                        "contact": {
                          "$ref": "#/components/schemas/Contact"
                        }
                      },
                      "required": [
                        "contact"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              ]
            }
          }
        }
      }
    },
    "responses": {
      "Successful": {
        "description": "Webhook received successfully."
      },
      "Redirection": {
        "description": "Webhook redirected (max 2 allowed). Additional redirects will be ignored and delivery will be marked as failed."
      },
      "Error": {
        "description": "Webhook delivery failed. Your server rejected the request."
      }
    }
  }
}
```