For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
GuidesReference
GuidesReference
    • Core
      • Overview
    • Agents
      • Overview
      • AgentBase
      • AgentServer
      • Configuration
      • ContextBuilder
      • DataMap
      • FunctionResult
      • Helper Functions & Utilities
      • LiveWire
      • PomBuilder
      • Prefabs
      • SkillBase
      • SkillManager
      • SkillRegistry
      • Skills
      • SwaigFunction
      • SwmlBuilder
      • SWMLService
    • RELAY
      • Overview
      • Actions
      • Call
      • Constants
      • Events
      • Message
      • RelayClient
      • RelayError
    • REST Client
      • Overview
      • Addresses
      • Calling
      • ChatResource
      • Compat
      • Datasphere
      • Fabric
      • ImportedNumbersResource
      • Logs
      • LookupResource
      • MFA
      • Number Groups
        • addMembership
        • create
        • delete
        • deleteMembership
        • get
        • getMembership
        • list
        • listMemberships
        • update
      • Phone Numbers
      • Project
      • PubSubResource
      • Queues
      • Recordings
      • Registry
      • RestClient
      • RestError
      • Short Codes
      • SIP Profile
      • Verified Callers
      • Video
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Response Example
  • Example
REST ClientNumber Groups

update

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

Phone Numbers

Next
Built with

Update a number group. Uses PUT to replace fields.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of the number group.

Request

namestringRequired
The name given to the number group. Helps to distinguish different groups within your project.
sticky_senderbooleanOptional
Whether the number group uses the same 'From' number for outbound requests to a number, or chooses a random one.

Response

idstringRequiredformat: "uuid"
The unique identifier of the Number Group on SignalWire. This can be used to update or delete the group programmatically.
namestringRequired
The name given to the number group. Helps to distinguish different groups within your project.
sticky_senderbooleanRequired
Whether the number group uses the same 'From' number for outbound requests to a number, or chooses a random one.
phone_number_countintegerRequired
The number of phone numbers within the group.

Response Example

Response
1{
2 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3 "name": "My Number Group",
4 "sticky_sender": false,
5 "phone_number_count": 4
6}

Example

1import { RestClient } from "@signalwire/sdk";
2
3const client = new RestClient({
4 project: "your-project-id",
5 token: "your-api-token",
6 host: "your-space.signalwire.com"
7});
8
9const updated = await client.numberGroups.update("group-id", { name: "Support Numbers" });
10console.log(updated.name);