All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
acquirePhoneNumber() | POST /v2/sms/phoneNumber/acquire | Acquire phone number |
archivePhoneNumber() | DELETE /v2/sms/phoneNumber/{phoneNumberID} | Archive phone number |
archiveRecipient() | DELETE /v2/sms/importedList/recipients/{id} | Archive recipient |
countImportedListRecipients() | GET /v2/sms/importedList/recipients/count/{listID} | Count imported list recipients |
countOptInListSubscribers() | GET /v2/sms/optInList/subscribers/count/{listID} | Count opt in list subscribers |
countOptInSourceSubscribers() | GET /v2/sms/optInSource/subscribers/count/{sourceID} | Count opt in source subscribers |
countOutboundSMS() | GET /v2/sms/outbound/count/{phoneNumberID} | Count outbound SMS |
createImportedList() | POST /v2/sms/importedList | Create imported list |
createOptInList() | POST /v2/sms/optInList | Create opt in list |
createOptInListSource() | POST /v2/sms/optInListSource | Send SMS to opt in list |
createRecipientInImportedList() | POST /v2/sms/importedList/recipients/create | Add new recipient in an imported list |
exportImportedListRecipients() | POST /v2/sms/importedList/recipients/export/{importedListID} | Export imported list recipients |
exportOptInListSubscribers() | POST /v2/sms/optInList/subscribers/export/{listID} | Export opt in list subscribers |
fetchBlockedTCPAEntries() | GET /v2/sms/phoneNumber/blocked/{phoneNumberID} | Fetch blocked TCPA entries |
fetchImportedListRecipients() | GET /v2/sms/importedList/recipients/{listID} | Fetch imported list recipients |
fetchImportedListRecipientsByPage() | GET /v2/sms/importedList/recipients/page/{listID} | Fetch imported list recipients by page |
fetchOptInListSources() | GET /v2/sms/optInListSources/all | Fetch all opt in list sources |
fetchOptInListSubscribers() | GET /v2/sms/optInList/subscribers/{listID} | Fetch opt in list subscribers |
fetchOptInListSubscribersByPage() | GET /v2/sms/optInList/subscribers/page/{listID} | Fetch opt in list subscribers by page |
fetchOptInListsAssociatedWithPhoneNumber() | GET /v2/sms/phoneNumber/lists/{phoneNumberID} | Fetch opt in lists |
fetchOptInSourceSubscribers() | GET /v2/sms/optInSource/subscribers/{sourceID} | Fetch opt in source subscribers |
fetchOptInSourcesAssociatedWithPhoneNumber() | GET /v2/sms/phoneNumber/sources/{phoneNumberID} | Fetch opt in sources |
fetchOutboundSMS() | GET /v2/sms/outbound/{phoneNumberID} | Fetch outbound SMS |
fetchOutboundSMSByPage() | GET /v2/sms/outbound/page/{phoneNumberID} | Fetch outbound SMSes by page |
fetchPaymentObjectBroadcasts() | GET /v2/sms/paymentObjectBroadcasts/{phoneNumberID} | Fetch payment object broadcasts |
fetchSMSAgreement() | GET /v2/sms/agreement | Accept SMS agreement (DEPRECATED) |
importImportedListRecipients() | POST /v2/sms/importedList/recipients/import/{importedListID} | Import imported list recipients |
importImportedListRecipientsFromMembershipTier() | POST /v2/sms/importedList/recipients/import-from-tier | Import imported list recipients from a given membership tier |
importOptInListSubscribers() | POST /v2/sms/optInList/subscribers/import/{listID} | Import opt in list subscribers |
restorePhoneNumber() | PATCH /v2/sms/phoneNumber/{phoneNumberID} | Restore phone number |
restoreRecipient() | PATCH /v2/sms/importedList/recipients/{id} | Restore recipient |
retrieveSentAndMaxCountOfMessages() | GET /v2/sms/sent | Retrieve the number of messages sent by the merchant within the current billing cycle |
saveImportedList() | PUT /v2/sms/importedList/{listID} | Save imported list |
saveOptInList() | PUT /v2/sms/optInList/{listID} | Save opt in list |
saveOptInListSource() | PUT /v2/sms/optInListSource/{sourceID} | Save opt in list source |
sendPhoneNumberForVerification() | PUT /v2/sms/phoneNumber/verification/{phoneNumberID} | Request phone number verification |
updatePhoneNumber() | PUT /v2/sms/phoneNumber/{phoneNumberID} | Update phone number |
acquirePhoneNumber($wtsms_acquire_phone_number): \OpenAPI\Client\Model\PhoneNumber
Acquire phone number
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$wtsms_acquire_phone_number = new \OpenAPI\Client\Model\WTSMSAcquirePhoneNumber(); // \OpenAPI\Client\Model\WTSMSAcquirePhoneNumber
try {
$result = $apiInstance->acquirePhoneNumber($wtsms_acquire_phone_number);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->acquirePhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wtsms_acquire_phone_number | \OpenAPI\Client\Model\WTSMSAcquirePhoneNumber |
\OpenAPI\Client\Model\PhoneNumber
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
archivePhoneNumber($phone_number_id): \OpenAPI\Client\Model\PhoneNumber
Archive phone number
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->archivePhoneNumber($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->archivePhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
\OpenAPI\Client\Model\PhoneNumber
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
archiveRecipient($id): \OpenAPI\Client\Model\ImportedListRecipient
Archive recipient
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = 'id_example'; // string
try {
$result = $apiInstance->archiveRecipient($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->archiveRecipient: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string |
\OpenAPI\Client\Model\ImportedListRecipient
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
countImportedListRecipients($list_id, $is_archive_included, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
Count imported list recipients
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$is_archive_included = True; // bool
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->countImportedListRecipients($list_id, $is_archive_included, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->countImportedListRecipients: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
is_archive_included | bool | [optional] | |
start_date | \DateTime | [optional] | |
end_date | \DateTime | [optional] |
\OpenAPI\Client\Model\WTCountResult
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
countOptInListSubscribers($list_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
Count opt in list subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$is_subscribed = True; // bool
$is_pending_age21_verification = True; // bool
$is_archive_included = True; // bool
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->countOptInListSubscribers($list_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->countOptInListSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
is_subscribed | bool | [optional] | |
is_pending_age21_verification | bool | [optional] | |
is_archive_included | bool | [optional] | |
start_date | \DateTime | [optional] | |
end_date | \DateTime | [optional] |
\OpenAPI\Client\Model\WTCountResult
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
countOptInSourceSubscribers($source_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
Count opt in source subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$source_id = 'source_id_example'; // string
$is_subscribed = True; // bool
$is_pending_age21_verification = True; // bool
$is_archive_included = True; // bool
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->countOptInSourceSubscribers($source_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->countOptInSourceSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
source_id | string | ||
is_subscribed | bool | [optional] | |
is_pending_age21_verification | bool | [optional] | |
is_archive_included | bool | [optional] | |
start_date | \DateTime | [optional] | |
end_date | \DateTime | [optional] |
\OpenAPI\Client\Model\WTCountResult
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id, $start_date, $end_date): \OpenAPI\Client\Model\WTCountResult
Count outbound SMS
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
$to_phone_number = 'to_phone_number_example'; // string
$status = 'status_example'; // string
$payment_object_broadcast_id = 'payment_object_broadcast_id_example'; // string
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->countOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->countOutboundSMS: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string | ||
to_phone_number | string | [optional] | |
status | string | [optional] | |
payment_object_broadcast_id | string | [optional] | |
start_date | \DateTime | [optional] | |
end_date | \DateTime | [optional] |
\OpenAPI\Client\Model\WTCountResult
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createImportedList($wtsms_imported_list_create): \OpenAPI\Client\Model\ImportedList
Create imported list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$wtsms_imported_list_create = new \OpenAPI\Client\Model\WTSMSImportedListCreate(); // \OpenAPI\Client\Model\WTSMSImportedListCreate
try {
$result = $apiInstance->createImportedList($wtsms_imported_list_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->createImportedList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wtsms_imported_list_create | \OpenAPI\Client\Model\WTSMSImportedListCreate |
\OpenAPI\Client\Model\ImportedList
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createOptInList($wt_opt_in_list_creation_params): \OpenAPI\Client\Model\OptInList
Create opt in list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$wt_opt_in_list_creation_params = new \OpenAPI\Client\Model\WTOptInListCreationParams(); // \OpenAPI\Client\Model\WTOptInListCreationParams
try {
$result = $apiInstance->createOptInList($wt_opt_in_list_creation_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->createOptInList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_opt_in_list_creation_params | \OpenAPI\Client\Model\WTOptInListCreationParams |
\OpenAPI\Client\Model\OptInList
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createOptInListSource($wtsms_opt_in_list_source_create): \OpenAPI\Client\Model\OptInListSource
Send SMS to opt in list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$wtsms_opt_in_list_source_create = new \OpenAPI\Client\Model\WTSMSOptInListSourceCreate(); // \OpenAPI\Client\Model\WTSMSOptInListSourceCreate
try {
$result = $apiInstance->createOptInListSource($wtsms_opt_in_list_source_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->createOptInListSource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wtsms_opt_in_list_source_create | \OpenAPI\Client\Model\WTSMSOptInListSourceCreate |
\OpenAPI\Client\Model\OptInListSource
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createRecipientInImportedList($ss_imported_list_recipient_create_params): \OpenAPI\Client\Model\ImportedListRecipient
Add new recipient in an imported list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$ss_imported_list_recipient_create_params = new \OpenAPI\Client\Model\SSImportedListRecipientCreateParams(); // \OpenAPI\Client\Model\SSImportedListRecipientCreateParams
try {
$result = $apiInstance->createRecipientInImportedList($ss_imported_list_recipient_create_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->createRecipientInImportedList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
ss_imported_list_recipient_create_params | \OpenAPI\Client\Model\SSImportedListRecipientCreateParams |
\OpenAPI\Client\Model\ImportedListRecipient
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportImportedListRecipients($imported_list_id): string
Export imported list recipients
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$imported_list_id = 'imported_list_id_example'; // string
try {
$result = $apiInstance->exportImportedListRecipients($imported_list_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->exportImportedListRecipients: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
imported_list_id | string |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportOptInListSubscribers($list_id): string
Export opt in list subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
try {
$result = $apiInstance->exportOptInListSubscribers($list_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->exportOptInListSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchBlockedTCPAEntries($phone_number_id): \OpenAPI\Client\Model\Tcpa[]
Fetch blocked TCPA entries
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->fetchBlockedTCPAEntries($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchBlockedTCPAEntries: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchImportedListRecipients($list_id): \OpenAPI\Client\Model\ImportedListRecipient[]
Fetch imported list recipients
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
try {
$result = $apiInstance->fetchImportedListRecipients($list_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchImportedListRecipients: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string |
\OpenAPI\Client\Model\ImportedListRecipient[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchImportedListRecipientsByPage($list_id, $page_size, $page_num, $is_archive_included): \OpenAPI\Client\Model\FetchImportedListRecipientsByPage200Response
Fetch imported list recipients by page
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$page_size = 3.4; // float
$page_num = 3.4; // float
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchImportedListRecipientsByPage($list_id, $page_size, $page_num, $is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchImportedListRecipientsByPage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
page_size | float | [optional] | |
page_num | float | [optional] | |
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\FetchImportedListRecipientsByPage200Response
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListSources($is_archive_included): mixed
Fetch all opt in list sources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchOptInListSources($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInListSources: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListSubscribers($list_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included): \OpenAPI\Client\Model\OptInListSubscriber[]
Fetch opt in list subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$is_subscribed = True; // bool
$is_pending_age21_verification = True; // bool
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchOptInListSubscribers($list_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInListSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
is_subscribed | bool | [optional] | |
is_pending_age21_verification | bool | [optional] | |
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\OptInListSubscriber[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListSubscribersByPage($list_id, $page_size, $page_num, $is_subscribed, $is_pending_age21_verification, $is_archive_included): \OpenAPI\Client\Model\FetchOptInListSubscribersByPage200Response
Fetch opt in list subscribers by page
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$page_size = 3.4; // float
$page_num = 3.4; // float
$is_subscribed = True; // bool
$is_pending_age21_verification = True; // bool
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchOptInListSubscribersByPage($list_id, $page_size, $page_num, $is_subscribed, $is_pending_age21_verification, $is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInListSubscribersByPage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
page_size | float | [optional] | |
page_num | float | [optional] | |
is_subscribed | bool | [optional] | |
is_pending_age21_verification | bool | [optional] | |
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\FetchOptInListSubscribersByPage200Response
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListsAssociatedWithPhoneNumber($phone_number_id): \OpenAPI\Client\Model\OptInList[]
Fetch opt in lists
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->fetchOptInListsAssociatedWithPhoneNumber($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInListsAssociatedWithPhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
\OpenAPI\Client\Model\OptInList[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInSourceSubscribers($source_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included): \OpenAPI\Client\Model\OptInListSubscriber[]
Fetch opt in source subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$source_id = 'source_id_example'; // string
$is_subscribed = True; // bool
$is_pending_age21_verification = True; // bool
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchOptInSourceSubscribers($source_id, $is_subscribed, $is_pending_age21_verification, $is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInSourceSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
source_id | string | ||
is_subscribed | bool | [optional] | |
is_pending_age21_verification | bool | [optional] | |
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\OptInListSubscriber[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInSourcesAssociatedWithPhoneNumber($phone_number_id): \OpenAPI\Client\Model\OptInListSource[]
Fetch opt in sources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->fetchOptInSourcesAssociatedWithPhoneNumber($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOptInSourcesAssociatedWithPhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
\OpenAPI\Client\Model\OptInListSource[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id): \OpenAPI\Client\Model\OutboundSMS[]
Fetch outbound SMS
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
$to_phone_number = 'to_phone_number_example'; // string
$status = 'status_example'; // string
$payment_object_broadcast_id = 'payment_object_broadcast_id_example'; // string
try {
$result = $apiInstance->fetchOutboundSMS($phone_number_id, $to_phone_number, $status, $payment_object_broadcast_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOutboundSMS: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string | ||
to_phone_number | string | [optional] | |
status | string | [optional] | |
payment_object_broadcast_id | string | [optional] |
\OpenAPI\Client\Model\OutboundSMS[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status, $start_date, $end_date): \OpenAPI\Client\Model\FetchOutboundSMSByPage200Response
Fetch outbound SMSes by page
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
$to_phone_number = 'to_phone_number_example'; // string
$payment_object_broadcast_id = 'payment_object_broadcast_id_example'; // string
$page_size = 3.4; // float
$page_num = 3.4; // float
$status = new \OpenAPI\Client\Model\SSOutboundStatuses(); // SSOutboundStatuses
$start_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->fetchOutboundSMSByPage($phone_number_id, $to_phone_number, $payment_object_broadcast_id, $page_size, $page_num, $status, $start_date, $end_date);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchOutboundSMSByPage: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string | ||
to_phone_number | string | [optional] | |
payment_object_broadcast_id | string | [optional] | |
page_size | float | [optional] | |
page_num | float | [optional] | |
status | SSOutboundStatuses | [optional] | |
start_date | \DateTime | [optional] | |
end_date | \DateTime | [optional] |
\OpenAPI\Client\Model\FetchOutboundSMSByPage200Response
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchPaymentObjectBroadcasts($phone_number_id): \OpenAPI\Client\Model\StaticVoucherCampaignBroadcast[]
Fetch payment object broadcasts
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->fetchPaymentObjectBroadcasts($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchPaymentObjectBroadcasts: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
\OpenAPI\Client\Model\StaticVoucherCampaignBroadcast[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchSMSAgreement(): mixed
Accept SMS agreement (DEPRECATED)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->fetchSMSAgreement();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->fetchSMSAgreement: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importImportedListRecipients($imported_list_id, $wt_employee_import_records): string
Import imported list recipients
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$imported_list_id = 'imported_list_id_example'; // string
$wt_employee_import_records = new \OpenAPI\Client\Model\WTEmployeeImportRecords(); // \OpenAPI\Client\Model\WTEmployeeImportRecords
try {
$result = $apiInstance->importImportedListRecipients($imported_list_id, $wt_employee_import_records);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->importImportedListRecipients: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
imported_list_id | string | ||
wt_employee_import_records | \OpenAPI\Client\Model\WTEmployeeImportRecords |
string
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importImportedListRecipientsFromMembershipTier($wt_imported_list_recipient_from_membership_tier_import): string
Import imported list recipients from a given membership tier
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$wt_imported_list_recipient_from_membership_tier_import = new \OpenAPI\Client\Model\WTImportedListRecipientFromMembershipTierImport(); // \OpenAPI\Client\Model\WTImportedListRecipientFromMembershipTierImport
try {
$result = $apiInstance->importImportedListRecipientsFromMembershipTier($wt_imported_list_recipient_from_membership_tier_import);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->importImportedListRecipientsFromMembershipTier: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_imported_list_recipient_from_membership_tier_import | \OpenAPI\Client\Model\WTImportedListRecipientFromMembershipTierImport |
string
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importOptInListSubscribers($list_id, $wtsms_import_opt_in_list_subscribers): string
Import opt in list subscribers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$wtsms_import_opt_in_list_subscribers = new \OpenAPI\Client\Model\WTSMSImportOptInListSubscribers(); // \OpenAPI\Client\Model\WTSMSImportOptInListSubscribers
try {
$result = $apiInstance->importOptInListSubscribers($list_id, $wtsms_import_opt_in_list_subscribers);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->importOptInListSubscribers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
wtsms_import_opt_in_list_subscribers | \OpenAPI\Client\Model\WTSMSImportOptInListSubscribers |
string
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restorePhoneNumber($phone_number_id): \OpenAPI\Client\Model\PhoneNumber
Restore phone number
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
try {
$result = $apiInstance->restorePhoneNumber($phone_number_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->restorePhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string |
\OpenAPI\Client\Model\PhoneNumber
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
restoreRecipient($id): \OpenAPI\Client\Model\ImportedListRecipient
Restore recipient
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = 'id_example'; // string
try {
$result = $apiInstance->restoreRecipient($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->restoreRecipient: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string |
\OpenAPI\Client\Model\ImportedListRecipient
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
retrieveSentAndMaxCountOfMessages(): mixed
Retrieve the number of messages sent by the merchant within the current billing cycle
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->retrieveSentAndMaxCountOfMessages();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->retrieveSentAndMaxCountOfMessages: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
saveImportedList($list_id, $wtsms_imported_list_create): \OpenAPI\Client\Model\ImportedList
Save imported list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$wtsms_imported_list_create = new \OpenAPI\Client\Model\WTSMSImportedListCreate(); // \OpenAPI\Client\Model\WTSMSImportedListCreate
try {
$result = $apiInstance->saveImportedList($list_id, $wtsms_imported_list_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->saveImportedList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
wtsms_imported_list_create | \OpenAPI\Client\Model\WTSMSImportedListCreate |
\OpenAPI\Client\Model\ImportedList
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
saveOptInList($list_id, $wt_opt_in_list_creation_params): \OpenAPI\Client\Model\OptInList
Save opt in list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$list_id = 'list_id_example'; // string
$wt_opt_in_list_creation_params = new \OpenAPI\Client\Model\WTOptInListCreationParams(); // \OpenAPI\Client\Model\WTOptInListCreationParams
try {
$result = $apiInstance->saveOptInList($list_id, $wt_opt_in_list_creation_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->saveOptInList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
list_id | string | ||
wt_opt_in_list_creation_params | \OpenAPI\Client\Model\WTOptInListCreationParams |
\OpenAPI\Client\Model\OptInList
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
saveOptInListSource($source_id, $wtsms_opt_in_list_source_create): \OpenAPI\Client\Model\OptInListSource
Save opt in list source
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$source_id = 'source_id_example'; // string
$wtsms_opt_in_list_source_create = new \OpenAPI\Client\Model\WTSMSOptInListSourceCreate(); // \OpenAPI\Client\Model\WTSMSOptInListSourceCreate
try {
$result = $apiInstance->saveOptInListSource($source_id, $wtsms_opt_in_list_source_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->saveOptInListSource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
source_id | string | ||
wtsms_opt_in_list_source_create | \OpenAPI\Client\Model\WTSMSOptInListSourceCreate |
\OpenAPI\Client\Model\OptInListSource
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sendPhoneNumberForVerification($phone_number_id, $wtsms_update_phone_number_config): string
Request phone number verification
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
$wtsms_update_phone_number_config = new \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig(); // \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig
try {
$result = $apiInstance->sendPhoneNumberForVerification($phone_number_id, $wtsms_update_phone_number_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->sendPhoneNumberForVerification: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string | ||
wtsms_update_phone_number_config | \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig |
string
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updatePhoneNumber($phone_number_id, $wtsms_update_phone_number_config): \OpenAPI\Client\Model\PhoneNumber
Update phone number
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SMSApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$phone_number_id = 'phone_number_id_example'; // string
$wtsms_update_phone_number_config = new \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig(); // \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig
try {
$result = $apiInstance->updatePhoneNumber($phone_number_id, $wtsms_update_phone_number_config);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SMSApi->updatePhoneNumber: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
phone_number_id | string | ||
wtsms_update_phone_number_config | \OpenAPI\Client\Model\WTSMSUpdatePhoneNumberConfig |
\OpenAPI\Client\Model\PhoneNumber
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]