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

# Five9 import callback (called by Five9, not by you)

> The public receiver Five9 POSTs to when a list import finishes, registered as `callbackUrl` on the import itself. It carries **no API-key/JWT auth** — the unguessable URL path token is the credential, compared in constant time against a per-organization secret. It is a **latency optimization only**: import results are polled independently and a batch settles correctly when no callback ever arrives, so this endpoint never writes an outcome. An unknown organization or a wrong token returns 404 (never 401, to avoid leaking existence); an unrecognized import is accepted and ignored; over-limit returns 429. This endpoint is not callable from the interactive playground.



## OpenAPI

````yaml /openapi.json post /flows/webhooks/five9-import/{slug}/{token}
openapi: 3.1.0
info:
  title: GetDialed API
  version: 0.1.0
servers:
  - url: https://api.getdialed.ai/v1
    description: Production
security: []
paths:
  /flows/webhooks/five9-import/{slug}/{token}:
    post:
      tags:
        - webhooks
      summary: Five9 import callback (called by Five9, not by you)
      description: >-
        The public receiver Five9 POSTs to when a list import finishes,
        registered as `callbackUrl` on the import itself. It carries **no
        API-key/JWT auth** — the unguessable URL path token is the credential,
        compared in constant time against a per-organization secret. It is a
        **latency optimization only**: import results are polled independently
        and a batch settles correctly when no callback ever arrives, so this
        endpoint never writes an outcome. An unknown organization or a wrong
        token returns 404 (never 401, to avoid leaking existence); an
        unrecognized import is accepted and ignored; over-limit returns 429.
        This endpoint is not callable from the interactive playground.
      operationId: >-
        receive_five9_import_callback_flows_webhooks_five9_import__slug___token__post
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
            title: Slug
        - name: token
          in: path
          required: true
          schema:
            type: string
            title: Token
      responses:
        '202':
          description: >-
            Accepted. Acks unconditionally once the token verifies — including
            for an import this system does not recognise, because results are
            polled independently and the callback is only a latency hint.
          content:
            application/json:
              schema: {}
        '404':
          description: >-
            Not found. Returned identically for an unknown organization, an
            inactive organization and an incorrect token — the response never
            distinguishes them, and a wrong token is never a 401.
          content:
            application/json:
              example:
                detail: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Callback rate limit exceeded for this organization
          content:
            application/json:
              example:
                detail: Rate limit exceeded
        '503':
          description: >-
            The callback token could not be read, so the request cannot be
            verified. Fails closed — never accepted unverified.
          content:
            application/json:
              example:
                detail: Callback verification unavailable
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````