Skip to main content

Get virtual sender information

Description

Retrieves a virtual sender detailed information.

Request URL

Method: POST

https://example.com/api/v1.1/vsenders/get

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
idint1YesVirtual sender ID
formatstring"json"NoResponse data format.
By default – json

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"id": 1
}

Response example

{
"data": {
"id": 1,
"name": "Virtual sender",
"email_rules": [
{
"type": "default",
"value": "",
"senders": [
{
"from_email": "",
"replyto_email": "",
"from_name": "",
"sender_id": 3,
"percent": 100
}
]
}
],
"sms_rules": [],
"custom_channels": {}
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError type
error_textstringError text
idintVirtual sender ID
namestringVirtual sender name
email_rulesJSON arrayRules for email senders
sms_rulesJSON arrayRules for SMS senders