# Company created POST Fired when a new company is created in the workspace. Reference: https://docs.askelephant.ai/api-reference/webhook-events/company-created-webhook ## OpenAPI 3.1 Webhook Specification ```yaml openapi: 3.1.0 info: title: AskElephant Public API version: 1.0.0 paths: {} webhooks: company-created-webhook: post: operationId: company-created-webhook summary: Company created description: Fired when a new company 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_company_payload' components: schemas: webhook_company_event_type: type: string enum: - v1.company.created - v1.company.updated - v1.company.deleted description: Event types emitted for company webhooks. title: webhook_company_event_type CompanyObject: type: string enum: - company title: CompanyObject 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 CompanyDomainsItems: type: object properties: domain: type: string required: - domain title: CompanyDomainsItems company: type: object properties: object: $ref: '#/components/schemas/CompanyObject' id: type: string name: type: - string - 'null' description: type: string industry: type: string website: type: string format: uri number_of_employees: type: integer logo_url: type: string format: uri crm_association: $ref: '#/components/schemas/crm_association' description: >- CRM record linked to this company. Present when the company has been matched to a CRM record via integration or API. domains: type: array items: $ref: '#/components/schemas/CompanyDomainsItems' created_at: type: string format: date-time updated_at: type: string format: date-time required: - object - id - created_at - updated_at title: company WebhookCompanyPayloadDataPreviousAttributes: type: object properties: {} description: >- Only present on updated events. Contains the previous values of fields that changed. title: WebhookCompanyPayloadDataPreviousAttributes WebhookCompanyPayloadData: type: object properties: object: $ref: '#/components/schemas/company' previous_attributes: $ref: '#/components/schemas/WebhookCompanyPayloadDataPreviousAttributes' description: >- Only present on updated events. Contains the previous values of fields that changed. required: - object title: WebhookCompanyPayloadData webhook_company_payload: type: object properties: id: type: string description: Unique event identifier. type: $ref: '#/components/schemas/webhook_company_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/WebhookCompanyPayloadData' required: - id - type - api_version - created_at - workspace_id - data description: >- Webhook payload delivered when a company is created, updated, or deleted. title: webhook_company_payload ```