Skip to main content
POST
Send conversationId to reply in a conversation. Send contactId or phone to start one. Send exactly one of the three. Every plan with SMS can use this endpoint.
Every send checks Do Not Disturb (DND) first. If the contact has DND on, or the number is on the opt-out list, the send is refused with 403 and nothing is sent. If DND can’t be checked, the send is refused too.
string
Workspace UUID (required for account API keys, optional for workspace API keys)
string
Reply in this conversation. It must be an SMS conversation in the workspace.
string
Start a conversation with this contact
string
Start a conversation with this number, in E.164 format (for example +14155551234). Nedzo finds the contact with this number, or makes one.
string
Name for a contact this send makes. Ignored when the contact exists.
string
required
The text, up to 1,600 characters
string
Send from this number in the workspace. A reply uses the conversation’s number by default. A new conversation uses the workspace’s first active number.
A reply to a conversation that has ended goes into a new conversation with the same contact. The response names the conversation the message went into.

When messageId is null

Sometimes the message goes out but Nedzo can’t save it. The answer is still 201, and messageId is null. The contact got the message, so don’t send it again. Then conversationId is the conversation you sent into. If that conversation had ended, the message may have gone out on a new thread that does not show in the log.

Errors