> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.askelephant.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.askelephant.ai/_mcp/server.

# Contact created

POST 

Fired when a new contact is created in the workspace.

Reference: https://docs.askelephant.ai/api-reference/webhook-events/contact-created-webhook

## OpenAPI 3.1 Webhook Specification

```yaml
openapi: 3.1.0
info:
  title: AskElephant Public API
  version: 1.0.0
paths: {}
webhooks:
  contact-created-webhook:
    post:
      operationId: contact-created-webhook
      summary: Contact created
      description: Fired when a new contact is created in the workspace.
      parameters:
        - name: svix-id
          in: header
          description: >-
            Unique identifier for this webhook delivery. Header names are
            case-insensitive.
          required: true
          schema:
            type: string
        - name: svix-timestamp
          in: header
          description: >-
            Unix timestamp used when verifying the webhook signature. Header
            names are case-insensitive.
          required: true
          schema:
            type: string
        - name: svix-signature
          in: header
          description: >-
            Signature for the raw webhook payload. Use this with the delivery
            ID, timestamp, and your endpoint secret to verify authenticity.
            Header names are case-insensitive.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Webhook received successfully
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/webhook_contact_payload'
components:
  schemas:
    webhook_contact_event_type:
      type: string
      enum:
        - v1.contact.created
        - v1.contact.updated
        - v1.contact.deleted
      description: Event types emitted for contact webhooks.
      title: webhook_contact_event_type
    ContactObject:
      type: string
      enum:
        - contact
      description: Resource discriminator for contact payloads.
      title: ContactObject
    resource_ref:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
      required:
        - id
        - object
      title: resource_ref
    ContactEmailsItems:
      type: object
      properties:
        email:
          type: string
          format: email
          description: Contact email address.
        is_primary:
          type: boolean
          description: Indicates whether this is the primary email address.
      required:
        - email
        - is_primary
      title: ContactEmailsItems
    ContactPhoneNumbersItems:
      type: object
      properties:
        phone_number:
          type: string
          description: Contact phone number in the source-system format.
        is_primary:
          type: boolean
          description: Indicates whether this is the primary phone number.
      required:
        - phone_number
        - is_primary
      title: ContactPhoneNumbersItems
    crm_association:
      type: object
      properties:
        object_type:
          type: string
          description: CRM object type.
        crm_object_id:
          type: string
          description: The record ID in the source CRM system.
        source:
          type: string
          description: CRM source system.
      required:
        - object_type
        - crm_object_id
        - source
      title: crm_association
    contact:
      type: object
      properties:
        object:
          $ref: '#/components/schemas/ContactObject'
          description: Resource discriminator for contact payloads.
        id:
          type: string
          description: Stable AskElephant contact identifier.
        first_name:
          type:
            - string
            - 'null'
          description: Contact given name.
        last_name:
          type:
            - string
            - 'null'
          description: Contact family name.
        description:
          type: string
          description: Free-form contact summary or notes visible through the public API.
        company:
          $ref: '#/components/schemas/resource_ref'
          description: >-
            Lightweight reference to the contact's associated company when one
            exists.
        emails:
          type: array
          items:
            $ref: '#/components/schemas/ContactEmailsItems'
          description: Email addresses associated with the contact.
        phone_numbers:
          type: array
          items:
            $ref: '#/components/schemas/ContactPhoneNumbersItems'
          description: Phone numbers associated with the contact.
        crm_association:
          $ref: '#/components/schemas/crm_association'
          description: >-
            CRM record linked to this contact. Present when the contact has been
            matched to a CRM record via integration or API.
        time_zone:
          type: string
          description: IANA time zone identifier for the contact.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the contact was first created in AskElephant.
        updated_at:
          type: string
          format: date-time
          description: Timestamp when the contact was most recently updated in AskElephant.
      required:
        - object
        - id
        - created_at
        - updated_at
      description: Public representation of a workspace contact.
      title: contact
    WebhookContactPayloadDataPreviousAttributes:
      type: object
      properties: {}
      description: >-
        Only present on updated events. Contains the previous values of fields
        that changed.
      title: WebhookContactPayloadDataPreviousAttributes
    WebhookContactPayloadData:
      type: object
      properties:
        object:
          $ref: '#/components/schemas/contact'
        previous_attributes:
          $ref: '#/components/schemas/WebhookContactPayloadDataPreviousAttributes'
          description: >-
            Only present on updated events. Contains the previous values of
            fields that changed.
      required:
        - object
      title: WebhookContactPayloadData
    webhook_contact_payload:
      type: object
      properties:
        id:
          type: string
          description: Unique event identifier.
        type:
          $ref: '#/components/schemas/webhook_contact_event_type'
        api_version:
          type: string
          description: API version used when the event was generated.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the event was created.
        workspace_id:
          type: string
          description: Workspace that owns the resource.
        data:
          $ref: '#/components/schemas/WebhookContactPayloadData'
      required:
        - id
        - type
        - api_version
        - created_at
        - workspace_id
        - data
      description: >-
        Webhook payload delivered when a contact is created, updated, or
        deleted.
      title: webhook_contact_payload

```