Skip to main content

Clone virtual sender

Description

Creates a copy of an existing virtual sender.

Request URL

Method: POST

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

Request parameters

ParameterTypeExampleRequiredDescription
tokenstring"abcdefghijklmnqrstuvwxyz"YesAPI token
formatstring"json"NoResponse data format.
By default– json
idint1YesExisting virtual sender ID
namestring"Clone of ..."NoNew virtual sender name.
By default – "Clone of ..."

Request example

{
"token": "abcdefghijklmnqrstuvwxyz",
"name": "Copy of virtual sender #99",
"id": 3
}

Response example

{
"data": {
"saved_id": 6
},
"error": 0,
"error_text": "Successful operation"
}

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
saved_idintNew virtual sender ID