interface IEnvelopeSearchParams {
    ascending?: boolean;
    canceled_at?: {
        end_time: string;
        start_time: string;
    };
    created_at?: {
        end_time: string;
        start_time: string;
    };
    envelope_name?: string;
    envelope_status?: ("canceled" | "complete" | "pending" | "in progress" | "declined")[];
    is_owner?: boolean;
    is_recipient?: boolean;
    limit?: number;
    name?: string;
    page?: number;
    recipient_claimed?: boolean;
    recipient_email?: string;
    recipient_id?: string;
    recipient_name?: string;
    recipient_status?: ("canceled" | "pending" | "declined" | "invited" | "opened" | "signed" | "submitted")[];
    row?: number;
    sort_by?: "created_at" | "updated_at" | "canceled_at" | "envelope_name" | "envelope_status";
    summary?: boolean;
    template_id?: string;
    text_field_value?: string;
    updated_at?: {
        end_time: string;
        start_time: string;
    };
}

Properties

ascending?: boolean

Whether to sort in ascending (default) or descending order.

canceled_at?: {
    end_time: string;
    start_time: string;
}

The date-range in which the envelope was canceled. Values should be specified in ISO8601 "UTC" format.

Type declaration

  • end_time: string
  • start_time: string
created_at?: {
    end_time: string;
    start_time: string;
}

The date-range in which the envelope was created. Values should be specified in ISO8601 "UTC" format.

Type declaration

  • end_time: string
  • start_time: string
envelope_name?: string

The envelope's name (inherited from the template) must match the specified string.

envelope_status?: ("canceled" | "complete" | "pending" | "in progress" | "declined")[]

The envelope must match one of the specified statuses.

is_owner?: boolean

Set to true to retrieve only those envelopes owned by the caller.

is_recipient?: boolean

Set to true to retrieve only those envelopes in which the caller is one of the recipients.

limit?: number

The maximum number of records to return. Should be used in place of row.

name?: string

Match against envelope_name, recipient_name, or recipient_email all at once.

page?: number

The page number to return. Page numbers are 0-based.

recipient_claimed?: boolean

Whether the recipient has "claimed" the envelope.

recipient_email?: string

At least one of the envelope's recipients must match the specified email address.

recipient_id?: string

At least one of the envelope's recipients must match the specified ID.

recipient_name?: string

At least one of the envelope's recipients must match the specified name.

recipient_status?: ("canceled" | "pending" | "declined" | "invited" | "opened" | "signed" | "submitted")[]

At least one of the recipients must match one of the specified statuses.

row?: number

@deprecated. Use limit.

sort_by?: "created_at" | "updated_at" | "canceled_at" | "envelope_name" | "envelope_status"

The field to sort the results by.

summary?: boolean

Set to true to retrieve only summary records (IEnvelopeSummary).

template_id?: string

The envelope must have been created via the specified template ID.

text_field_value?: string

Perform a "contains" search where any of the attached documents' fields contains the specified value.

updated_at?: {
    end_time: string;
    start_time: string;
}

The date-range in which the envelope was last updated. Values should be specified in ISO8601 "UTC" format. Note that any operations that alter the envelope are considered "updates", including status changes (cancellation), recipient actions (opening/signing), etc.

Type declaration

  • end_time: string
  • start_time: string