Skip to content

Interface: SendSMSResponse

Defined in: types.ts:33

Response returned after sending an SMS campaign.

Properties

code

ts
code: string;

Defined in: types.ts:37

Response code from the API.


message

ts
message: string;

Defined in: types.ts:39

Human-readable response message.


status

ts
status: string;

Defined in: types.ts:35

Status of the send request.


summary

ts
summary: {
  _id: string;
  contacts: number;
  credit_left: number;
  credit_used: number;
  message_id?: string;
  numbers_sent: string[];
  total_rejected: number;
  total_sent: number;
  type: string;
};

Defined in: types.ts:41

Summary of the SMS campaign results.

NameTypeDefined in
_idstringtypes.ts:42
contactsnumbertypes.ts:46
credit_leftnumbertypes.ts:50
credit_usednumbertypes.ts:49
message_id?stringtypes.ts:43
numbers_sentstring[]types.ts:48
total_rejectednumbertypes.ts:47
total_sentnumbertypes.ts:45
typestringtypes.ts:44