@getdial/sdk - v0.21.0
    Preparing search index...

    Interface SetNumberPropertiesParams

    interface SetNumberPropertiesParams {
        avatar?: SendMessageMedia;
        firstName?: string | null;
        inboundInstruction?: string;
        inboundLanguage?: string | null;
        inboundVoiceGender?: "male" | "female" | null;
        lastName?: string | null;
        maxCallDurationSeconds?: number;
        nickname?: string | null;
    }
    Index

    iMessage avatar photo: a public image URL (downloaded server-side), a local file path, or raw bytes (both uploaded as multipart). jpeg/png/gif/webp, max 5 MB. Replace-only — the photo can't be removed. iMessage numbers only.

    firstName?: string | null

    iMessage display first name shown beside this number's messages in recipients' Messages apps (max 30 chars). null or "" clears it. Valid only on numbers with the imessage capability — rejected with 400 otherwise.

    inboundInstruction?: string

    New system prompt the AI voice agent uses on inbound calls to this number.

    inboundLanguage?: string | null

    BCP-47 language tag pinning inbound calls to this number to one language. null clears it, so the language reverts to per-call detection from the caller's country prefix.

    inboundVoiceGender?: "male" | "female" | null

    Voice gender for inbound calls: "male" or "female". null clears it, so the voice reverts to the default (female).

    lastName?: string | null

    iMessage display last name (max 30 chars); null or "" clears it. iMessage numbers only.

    maxCallDurationSeconds?: number

    Cap calls on this number to at most this many seconds, applied as a hard ceiling to both inbound calls to the number and outbound calls placed from it. The effective cap on any call is the smallest of the per-number, account, and per-call limits.

    nickname?: string | null

    Human-readable label for the number, max 100 chars; null or "" clears it.