Draft a reply with AIComing soon
Writes a reply for a person to review, from what they want to say. It sends nothing; send the reviewed text with POST /conversations/{conversation_id}/messages.
Coming soon. Writes a reply for a person to review, from what they want to say. It sends nothing; send the reviewed text with POST /conversations/{conversation_id}/messages.
Spends Matchai Energy. Returns 402 without doing anything when the account does not have enough Energy, or when this connection reached the Energy limit the account holder set for it.
Scopes: messages:read
Pricing: Included with the connection, and spends Matchai Energy.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: messages:read
conversation_id*stringConversation id.
1 <= length <= 64Idempotency-Key?stringA unique string (a UUID works). Retrying with the same key within 24 hours returns the first response instead of acting twice. Reusing a key with a different body returns 409 idempotency_key_reused.
1 <= length <= 255application/json- body
intent*stringWhat to say, plainly, for example "tell them Saturday at 2 is confirmed".
1 <= length <= 1000tone?stringFor example "warm" or "brief".
length <= 40The draft.
application/json- response
Text for a person to review. Nothing was sent.
subject?|Subject line, for an email draft.
text*stringThe draft.
curl -X POST 'https://api.matchai.co/v1/conversations/string/reply-drafts' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "intent": "string"}'{ "subject": "string", "text": "string"}