Skip to main content

@wildix/classound-client > ListSmsNumbersCommand

ListSmsNumbersCommand class

Signature:

export declare class ListSmsNumbersCommand extends ListSmsNumbersCommand_base 

Extends: ListSmsNumbersCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { ClassoundClient, ListSmsNumbersCommand } from "@wildix/classound-client"; // ES Modules import
// const { ClassoundClient, ListSmsNumbersCommand } = require("@wildix/classound-client"); // CommonJS import
const client = new ClassoundClient(config);
const input = { // ListSmsNumbersInput
companyId: "STRING_VALUE", // required
};
const command = new ListSmsNumbersCommand(input);
const response = await client.send(command);
// { // ListSmsNumbersOutput
// type: "STRING_VALUE", // required
// success: true || false, // required
// timestamp: Number("long"), // required
// result: { // SmsNumbersResult
// companyId: "STRING_VALUE", // required
// numbers: [ // PhoneNumberList // required
// "STRING_VALUE",
// ],
// },
// };