Get Started
Response Format
SDK Response format
Shootmail SDK exports a response type ShootmailResponse
that has following structure
- Status can be either
200
or400
, depending on if the response is a success or an error. - If the response is successful,
error
isnull
, status is200
and the data property contains the response returned by the email provider. - If the response has error, the
data
property will be null, status will be400
and theerror
property will contain the error returned by the email provider.
Success Response
Save this requestId
somewhere, this can be used to undo a scheduled message.