Tela SDK for JavaScript
    Preparing search index...

    Interface BatchWebhookConfig

    Webhook configuration for batch completion notifications.

    interface BatchWebhookConfig {
        headers?: Record<string, string>;
        url: string;
    }
    Index

    Properties

    Properties

    headers?: Record<string, string>

    Optional headers to forward with the webhook notification. Headers will be automatically prefixed with 'x-tela-forward-' if not already present.

    headers: {
    'user-id': '12345', // Sent as: x-tela-forward-user-id
    'session': 'abc-xyz', // Sent as: x-tela-forward-session
    'x-tela-forward-custom': 'value' // Already prefixed, sent as-is
    }
    url: string

    The URL to send the webhook notification to when the batch completes.