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
  • Core
    • Overview
    • Authorization
    • Base URL
    • Data formats
    • Paging
    • Error codes
    • Permissions
  • Calling
  • Datasphere
  • Logs
  • Messaging
  • Phone Number Management
      • POSTCreate number group membership
      • DELDelete number group membership
      • GETGet number group membership
      • GETList number group memberships
  • Platform
  • Resource Management
LogoLogoSignalWire Docs
Log inSign up
Support
Phone Number ManagementNumber Group Membership

Get number group membership

|View as Markdown|Open in Claude|
GET
https://{your_space_name}.signalwire.com/api/relay/rest/number_group_memberships/:id
GET
/api/relay/rest/number_group_memberships/:id
$curl https://{your_space_name}.signalwire.com/api/relay/rest/number_group_memberships/id \
> -u "<project_id>:<api_token>"
1{
2 "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3 "number_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4 "phone_number": {
5 "id": "string",
6 "name": "Jenny",
7 "number": "+15558675309",
8 "capabilities": [
9 "voice",
10 "sms",
11 "mms",
12 "fax"
13 ]
14 },
15 "created_at": "2023-01-15T10:30:00Z",
16 "updated_at": "2023-01-15T10:30:00Z"
17}

Retrieves the details of a number group membership.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Numbers.

Learn more about API scopes.

Was this page helpful?
Previous

List number group memberships

Next
Built with

Authentication

AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token. The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password. Example: ``` Authorization: Basic base64(project_id:token) ```

Path parameters

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

Response

The request has succeeded.
idstringformat: "uuid"
The unique identifier of the Number Group Membership on SignalWire. This can be used to delete the membership programmatically.
number_group_idstringformat: "uuid"
The unique identifier of the Number Group this membership is associated with.
phone_numberobject
A representation of the phone number this membership is associated with.
created_atstring
The date and time when the membership was created.
updated_atstring
The date and time when the membership was last updated.

Errors

401
Unauthorized Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error

SignalWire Basic Authentication using Project ID and API Token.

The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.

Example:

Authorization: Basic base64(project_id:token)