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

{
"id": 99,
"name": "Copy of virtual sender #99",
"token": "62c1336c402e429ab2e59d84d089b1cc"
}

Response example

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

Response parameters

ParameterTypeDescription
errorintError code
error_textstringError text
saved_idintNew virtual sender ID