> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trytikt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a destination

> Create a webhook destination. The answer carries its signing secret, shown this once. Slack is connected in the console, not here. Requires a **Read and write** key.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/webhook-endpoints
openapi: 3.1.0
info:
  title: TIKT API
  version: '2026-10-01'
  description: >-
    Read your leads with their verdict criterion by criterion, and answer TIKT:
    file, discard, exclude, pause, track. Server to server only: never call it
    from a browser.
servers:
  - url: https://api.trytikt.com
security:
  - apiKey: []
tags:
  - name: workspace
  - name: leads
  - name: lists
  - name: posts
  - name: tracked-profiles
  - name: icp
  - name: analytics
  - name: events
  - name: webhook-endpoints
  - name: workflows
  - name: tools
paths:
  /v1/webhook-endpoints:
    post:
      tags:
        - webhook-endpoints
      summary: Create a destination
      description: >-
        Create a webhook destination. The answer carries its signing secret,
        shown this once. Slack is connected in the console, not here. Requires a
        **Read and write** key.
      operationId: createADestination
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 80
                  description: The destination's name, 1 to 80 characters.
                url:
                  type: string
                  minLength: 1
                  maxLength: 2048
                  description: >-
                    The `https://` address TIKT sends events to. Public
                    addresses only.
                tool:
                  default: webhook
                  type: string
                  enum:
                    - webhook
                    - n8n
                    - make
                    - zapier
                    - clay
                  description: >-
                    The tool behind the address — `webhook` (the default),
                    `n8n`, `make`, `zapier` or `clay`. Sets the defaults; every
                    tool receives the same signed request.
                all_events:
                  default: false
                  type: boolean
                  description: >-
                    `true` to receive every event, including types added later.
                    `false` by default.
                events:
                  default: []
                  maxItems: 32
                  type: array
                  items:
                    type: string
                    enum:
                      - lead.created
                      - lead.rescored
                      - lead.engaged_again
                      - lead.status_changed
                      - list.lead_added
                      - list.lead_removed
                      - list.created
                      - list.renamed
                      - list.deleted
                      - post.discovered
                      - post.harvested
                      - post.harvest_paused
                      - post.harvest_resumed
                      - post.closed
                      - kol.added
                      - kol.ready
                      - kol.updated
                      - kol.paused
                      - kol.resumed
                      - kol.archived
                      - kol.restored
                      - kol.followers_recorded
                      - icp.updated
                      - blocklist.company_added
                      - blocklist.company_removed
                      - credits.low
                      - credits.exhausted
                      - billing.period_closed
                      - workspace.updated
                      - cycle.completed
                      - cycle.failed
                      - webhook.endpoint_disabled
                  description: >-
                    The event types to receive, when `all_events` is `false`.
                    Empty: the destination only serves workflows.
                format:
                  default: single
                  type: string
                  enum:
                    - single
                    - batch
                  description: >-
                    `single` (one request per event, the default) or `batch` (up
                    to 100 events per request).
                headers:
                  type: object
                  propertyNames:
                    type: string
                    pattern: ^[A-Za-z0-9][A-Za-z0-9-]{0,63}$
                  additionalProperties:
                    type: string
                    minLength: 1
                    maxLength: 1024
                  description: >-
                    Up to three headers of your own, `{"name": "value"}`, sent
                    with every request. Given on an update, they replace the
                    current ones.
                send_past:
                  default: none
                  type: string
                  enum:
                    - none
                    - 24h
                    - 7d
                    - 31d
                  description: >-
                    Past events to send right away: `none` (the default), `24h`,
                    `7d` or `31d`.
              required:
                - name
                - url
              additionalProperties: false
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpointCreated'
        '400':
          $ref: '#/components/responses/E400'
        '401':
          $ref: '#/components/responses/E401'
        '403':
          $ref: '#/components/responses/E403'
        '404':
          $ref: '#/components/responses/E404'
        '409':
          $ref: '#/components/responses/E409'
        '413':
          $ref: '#/components/responses/E413'
        '422':
          $ref: '#/components/responses/E422'
        '429':
          $ref: '#/components/responses/E429'
        '500':
          $ref: '#/components/responses/E500'
        '503':
          $ref: '#/components/responses/E503'
      security:
        - apiKey: []
components:
  schemas:
    WebhookEndpointCreated:
      type: object
      properties:
        id:
          type: string
          pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
        name:
          type: string
        tool:
          type: string
        url:
          type: string
        all_events:
          type: boolean
        events:
          type: array
          items:
            type: string
        format:
          type: string
        status:
          type: string
        disabled_reason:
          anyOf:
            - type: string
            - type: 'null'
        disabled_at:
          anyOf:
            - type: string
              pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$
            - type: 'null'
        api_version:
          type: string
        created_at:
          type: string
          pattern: ^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\dZ$
        slack:
          type: object
          properties:
            channel:
              anyOf:
                - type: string
                - type: 'null'
            team:
              anyOf:
                - type: string
                - type: 'null'
          required:
            - channel
            - team
          additionalProperties: false
        last_response_status:
          anyOf:
            - type: integer
            - type: 'null'
        used_by_workflows:
          type: integer
        signing_secret:
          type: string
      required:
        - id
        - name
        - tool
        - url
        - all_events
        - events
        - format
        - status
        - disabled_reason
        - disabled_at
        - api_version
        - created_at
        - used_by_workflows
        - signing_secret
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - parametre_inconnu
                - parametre_invalide
                - corps_invalide
                - curseur_invalide
                - cle_absente
                - cle_invalide
                - cle_revoquee
                - cle_de_lecture
                - introuvable
                - methode_non_permise
                - limite_atteinte
                - corps_trop_gros
                - refus
                - trop_de_requetes
                - erreur_interne
                - indisponible
            message:
              type: string
            status:
              type: integer
            request_id:
              anyOf:
                - type: string
                - type: 'null'
            details:
              type: object
              additionalProperties: true
          required:
            - code
            - message
            - status
            - request_id
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  responses:
    E400:
      description: Error 400.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E401:
      description: Error 401.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E403:
      description: Error 403.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E404:
      description: Error 404.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E409:
      description: Error 409.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E413:
      description: Error 413.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E422:
      description: Error 422.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E429:
      description: Error 429.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E500:
      description: Error 500.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    E503:
      description: Error 503.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        Your API key, created in Settings › API: `Authorization: Bearer
        tikt_live_…`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.