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

    Interface CallbackPayloadActiveNumber

    Callback for an active number provisioning / deprovisioning event.

    interface CallbackPayloadActiveNumber {
        eventId?: string;
        eventType?: string;
        failureCode?: FailureCodeEnum;
        internalFailureCode?: string;
        projectId?: string;
        resourceId?: string;
        resourceType?: string;
        status?: string;
        timestamp?: Date;
    }

    Hierarchy

    Index

    Properties

    eventId?: string

    The ID of the event.

    eventType?: string

    The type of the event.

    failureCode?: FailureCodeEnum

    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.

    internalFailureCode?: string

    If the status is FAILED, certain processes (eg. number to campaign provisioning) will have an internalFailureCode in the payload. The details of these codes can be found in our dedicated Provisioning errors documentation.

    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.

    resourceType?: string

    The type of the resource.

    status?: string

    The status of the event or the state transition it represents.

    timestamp?: Date

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