WorkspaceOutreachDraftsId

Edit outreach draft

Replace the model's words with your own. Send a subject, a body, or both; whatever is sent replaces what is stored. The draft must have been written by somebody in your organization.

PATCH
/workspace/outreach/drafts/{id}

Replace the model's words with your own. Send a subject, a body, or both; whatever is sent replaces what is stored. The draft must have been written by somebody in your organization.

AuthorizationBearer <token>

API key (sk_live_... prefix). Generate keys in the UI under Settings > API Keys, then send it as Authorization: Bearer sk_live_...

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

subject?string
Lengthlength <= 500
body?string
Lengthlength <= 20000

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v1/workspace/outreach/drafts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "subject": "string",
    "body": "string"
  }
}
Empty
{
  "error": "string",
  "message": "string",
  "statusCode": -9007199254740991
}
Empty