Create an email

This endpoint lets you create a new email for a given candidate_reference.
For example, it may be useful if you send emails through an external service and you want to consolidate all the emails related to your candidates in our ATS.
post
https://www.welcomekit.co/api/v1/external/
emails
email creation
Request example
curl -X POST "https://www.welcomekit.co/api/v1/external/emails" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer WK_API_KEY" \
-d @- <<EOF
{
"candidate_reference": "wttj-d655345409a6097309156b05",
"subject": "Greetings",
"body": "Email body",
"from_email": "[email protected]",
"remote_file_urls": [
{
"filename": "resume",
"url": "http://example.com/resume.pdf"
}
]
}
EOF