hi, i have a problem with send_at parameter in send message endpoint.
i need to provide it to use send_success and send_failed webhooks for a message.
in c# i have a code like:
I just tested using Ruby and you’re right…2 minutes is the minimum you need to pass in order for SendAt to work. Not sure why, must be reliability reasons.
Anyways, SendAt is not a mandatory field, so you can simply ignore it…
In this code samples (and ignore my C# ignorance ) I’m sending an email without SendAt (this should trigger the webhook as well)
Oh, so sorry You’re right, I haven’t used those kind of webhooks yet, so I got confused. Will ask engineer about the 2 minutes timeframe and get back to you…
those webhooks are only needed for scheduled send since the operation is asynchronous. E.g. hey send this message in the future and let me know if it is successful or fails.
For immediate send, the operation is synchronous, so the API response and status code indicate if request was successful.