Skip to content

Latest commit

 

History

History
86 lines (86 loc) · 2.55 KB

Send an issue to preloaded contacts.md

File metadata and controls

86 lines (86 loc) · 2.55 KB

Send an issue to preloaded contacts

Schedule an issue to be sent to a specified list of contacts Ids at a given time.

Remember to provide the authentication HTTP headers as described in the Authenticate using a session key and the Authenticate using a user token sections.
All the query string parameters in URL must be UTF-8 URL Encoded.

HTTP Headers

user_key / Session_key

HTTP Method

POST

HTTP Request

https://app.gateway.smsend.it/API/v1.0/REST/list/{campaignId}/issue/{idIssue}

Parameters

Parameter Type Description Required Default
campaignId Int The campaign where to send the emails Yes -
idIssue Int The mailing to send Yes -

Body Fields

Parameter Type Description Required Default
contactIds String[] The list of contact Ids of the recipients Yes -
scheduleTime String When send the mailing in format yyyy-MM-dd hh:mm:ss Yes -

Returns

Code Description
200 Successful request
400 Other errors, details are in the body
401 [Unauthorized] User_key, Token or Session_key are invalid or not provided
404 [Not found] The User_key was not found
500 The issue can’t be sent or the contacts Ids array is empty