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
      • Create or update AKMTA sender
      • Get AKMTA sender information
      • Assign account to sender
      • Get senders list
      • Delete sender
      • Restore sender
      • Sender queue
        • Get sender queue information
        • Hold sender queue
        • Release sender queue
        • Clear sender queue
    • Virtual senders
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
  • Sendersv72
  • Sender queue
  • Get sender queue information
Documentation for version v72

Get sender queue information

Description​

Get detailed information about the number of messages with different status in sender queue.

Request URL​

Method: POST

https://example.com/api/v1.1/admin/senders/queue/stats/

Request parameters​

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format
By default – json
idint12YesSender ID
By default – 1
account_idint12NoAccount ID
By default – 1
campaign_idint12NoCampaign ID
By default – 0
ispstring"Gmail"NoISP (email provider)
group *string"total"NoMessage grouping mode
By default – total

* "group" parameter can have these values:

  • account – group messages by account
  • account_campaign – group messages by campaigns within accounts
  • isp – group messages by ISP
  • total – do not group messages

Request example​

  • JSON
  • XML
{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 119
}
<xml>
<token>abcdefghijklmnqrstuvwxyz</token>
<id>119</id>
</xml>

Response example​

  • JSON
  • XML
{
"data": [
{
"account_id": 306,
"campaign_id": 4591,
"hold": 0,
"isp": "",
"new": 100,
"proc": 100,
"retry": 0,
"total": 200
},
{
"account_id": 306,
"campaign_id": 4914,
"hold": 80,
"isp": "",
"new": 10,
"proc": 10,
"retry": 40,
"total": 140
}
],
"error": 0,
"error_text": "Successful operation"
}
<xml>
<data>
<account_id>306</account_id>
<campaign_id>4591</campaign_id>
<hold>0</hold>
<isp></isp>
<new>100</new>
<proc>100</proc>
<retry>0</retry>
<total>200</total>
</data>
<data>
<account_id>306</account_id>
<campaign_id>4914</campaign_id>
<hold>80</hold>
<isp></isp>
<new>10</new>
<proc>10</proc>
<retry>40</retry>
<total>140</total>
</data>
<error>0</error>
<error_text>Successful operation</error_text>
</xml>

Response parameters​

ParameterTypeDescription
errorintError code
error_textstringError text
Last updated on Mar 16, 2024
Previous
Sender queue
Next
Hold sender queue
  • Description
  • Request URL
  • Request parameters
  • Request example
  • Response example
  • Response parameters
© 2015 - 2025 Altcraft, LLC. All rights reserved.