PUT https://restapi.actonsoftware.com/api/1/message/{id}/send
This endpoint allows you to resend a message from the account.
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
id | Path | False | Required | String | Specify the ID of the previously sent message. |
issuppressduplicates | Query | False | Optional | String | Do you want to suppress duplicates? ("Y","N") |
sendtoids | Query | False | Optional | String | Specify the list IDs if you are sending complete lists. (Comma-Separated) |
suppressids | Query | False | Optional | String | Specify the list IDs of lists you would like to suppress against this send. (Comma-Separated) |
sendtorecids | Query | False | Optional | String | Specify the record IDs if you are sending to specific records. (Comma-Separated) |
when | Query | False | Optional | String | Specify when the message should be sent. ("UNIX epoch timestamp") |
Parameter Notes
when
You can generate a timestamp using http://www.epochconverter.com/
Response
{ "status": "success", "message": "Message scheduled for re-launch: s-0003-1910, API requested msgID: s-0003-1910" }
Code Examples
cURL
curl -X PUT https://restapi.actonsoftware.com/api/1/message/s-0003-1910/send -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs" -H "Content-Type: application/x-www-form-urlencoded" -d 'sendtoids=l-0002&when=1426803739000'