Skip to main content
POST
/
api
/
replies
/
{id}
/
send
Send Reply
curl --request POST \
  --url https://api.example.com/api/replies/{id}/send \
  --header 'Content-Type: application/json' \
  --data '
{
  "response": "<string>",
  "to_email": "<string>",
  "cc": [
    {}
  ],
  "bcc": [
    {}
  ]
}
'
{
  "data": {
    "id": "<string>",
    "status": "<string>",
    "sent_response": "<string>",
    "handled_at": "<string>"
  }
}
Send a response email to the original sender. This marks the reply as sent and records the sent response.

Path Parameters

id
string
required
The unique identifier (UUID) of the reply

Request Body

response
string
required
The email content to send. Can be plain text or HTML.
to_email
string
Override the recipient email address (defaults to the original sender)
cc
array
Array of email addresses to CC
bcc
array
Array of email addresses to BCC

Response

data
object
The updated reply object with status set to sent

Examples

Send with Default Response

curl -X POST "https://app.replyify.ai/api/replies/abc123-def456-ghi789/send" \
  -H "Authorization: Bearer rpl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "response": "Hi John,\n\nThanks for your interest! I would be happy to schedule a call.\n\nHere is my calendar: https://cal.com/yourcompany\n\nBest,\nYour Team"
  }'

Send with CC/BCC

curl -X POST "https://app.replyify.ai/api/replies/abc123-def456-ghi789/send" \
  -H "Authorization: Bearer rpl_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "response": "Hi John,\n\nHere is the information you requested...",
    "cc": ["manager@yourcompany.com"],
    "bcc": ["records@yourcompany.com"]
  }'

Response Example

{
  "data": {
    "id": "abc123-def456-ghi789",
    "from_email": "john@example.com",
    "to_email": "outreach@yourcompany.com",
    "status": "sent",
    "sent_response": "Hi John,\n\nThanks for your interest! I would be happy to schedule a call.\n\nHere is my calendar: https://cal.com/yourcompany\n\nBest,\nYour Team",
    "handled_at": "2024-01-15T16:30:00Z"
  }
}

Errors

400 Bad Request
{
  "error": "Response content is required"
}
The request is missing the response field.
400 Bad Request
{
  "error": "Reply already sent"
}
This reply has already been sent and cannot be sent again.
404 Not Found
{
  "error": "Reply not found"
}
The specified reply ID doesn’t exist in your workspace.
500 Internal Server Error
{
  "error": "Failed to send email"
}
The email could not be sent through the connected platform.

Notes

Sending a reply triggers the reply.sent webhook event if you have webhooks configured.
Once a reply is sent, it cannot be unsent or modified. Make sure to review the response before sending.