Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
    • Accountsv72
    • Account users
    • Nodes
    • Sendersv72
    • Virtual senders
      • Get virtual senders list
      • Get virtual sender information
      • Create virtual sender
      • Update virtual sender
      • Clone virtual sender
      • Delete virtual sender
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Administrator API
  • Virtual senders
  • Get virtual senders list
Documentation for version v72

Get virtual senders list

Description​

Retrieves virtual senders detailed information.

Request URL​

Method: POST

https://example.com/api/v1.1/admin/vsenders/list

Request examples​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
account_idint306YesAccount ID
from_idint11768NoThe first virtual sender ID on the list
By default –1
limitint10NoVirtual senders list limit
By default – 1000
formatstring"json"NoResponse data format
By default – json

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"limit": 2,
"account_id": 1
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<limit>2</limit>
<account_id>1</account_id>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"id": 1,
"name": "Virtual sender12",
"sms_channel": false,
"email_channel": true,
"custom_channels": {}
},
],
"error": 0,
"error_text": "Successful operation",
"total_count": 10
}
<xml>
<data>
<custom_channels/>
<email_channel>true</email_channel>
<id>1</id>
<name>Virtual sender12</name>
<sms_channel>false</sms_channel>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
<total_count>10</total_count>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
idintVirtual sender ID
namestringVirtual sender name
sms_channelbooltrue if SMS channel is enabled
email_channelbooltrue if email channel is enabled
Last updated on May 12, 2024
Previous
Virtual senders
Next
Get virtual sender information
  • Description
  • Request URL
  • Request examples
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.