Sinch Node.js SDK - v1.2.0
    Preparing search index...

    Interface CallbackPayload

    interface CallbackPayload {
        eventId?: string;
        eventType?: CallbackPayloadEventTypeEnum;
        failureCode?: CallbackPayloadFailureCodeEnum;
        projectId?: string;
        resourceId?: string;
        resourceType?: string;
        status?: string;
        timestamp?: Date;
    }
    Index

    Properties

    eventId?: string

    The ID of the event.

    The type of the event.

    If the status is FAILED, a failure code will be provided. For numbers provisioning to SMS platform, there won't be any extra failureCode, as the result is binary. For campaign provisioning-related failures, refer to the list for the possible values.

    projectId?: string

    The ID of the project to which the event belongs.

    resourceId?: string

    The unique identifier of the resource, depending on the resource type. For example, a phone number, a hosting order ID, or a brand ID.

    resourceType?: string

    The type of the resource.

    status?: string

    The status of the event. For example, SUCCEEDED or FAILED.

    timestamp?: Date

    The date and time when the callback was created and added to the callbacks queue.