create_draft
curl --request PUT \
--url https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject": "<string>",
"body": "<string>",
"send_at": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', body: JSON.stringify('<string>'), send_at: '<string>'})
};
fetch('https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft"
payload = {
"subject": "<string>",
"body": "<string>",
"send_at": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"subject": "Next steps",
"body": "Hi Jordan, here is a time to talk.",
"send_at": null,
"error": null
}Mail
create_draft
Save the open letter on one application. Does not send. A person still hits Send. MCP tool: create_draft. This replaces the one open draft. MCP can also start from a template_id. Tokens render when a person sends.
PUT
/
v1
/
employer
/
applications
/
{application_id}
/
draft
create_draft
curl --request PUT \
--url https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"subject": "<string>",
"body": "<string>",
"send_at": "<string>"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject: '<string>', body: JSON.stringify('<string>'), send_at: '<string>'})
};
fetch('https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://rest.hotfix.jobs/v1/employer/applications/{application_id}/draft"
payload = {
"subject": "<string>",
"body": "<string>",
"send_at": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"subject": "Next steps",
"body": "Hi Jordan, here is a time to talk.",
"send_at": null,
"error": null
}Authorizations
Employer session JWT from Better Auth.
Path Parameters
Application UUID.
Body
application/json
Response
200 - application/json
Success
The response is of type object.