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 WelcomeKit.
post
https://www.welcomekit.co/api/v1/external/
emails
email creation
Request example
1
curl -X POST "https://www.welcomekit.co/api/v1/external/emails" \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer WK_API_KEY" \
4
-d @- <<EOF
5
{
6
"candidate_reference": "wttj-d655345409a6097309156b05",
7
"subject": "Greetings",
8
"body": "Email body",
9
"from_email": "[email protected]",
10
11
"remote_file_urls": [
12
{
13
"filename": "resume",
14
"url": "http://example.com/resume.pdf"
15
}
16
]
17
}
18
EOF
Copied!
Last modified 1mo ago
Copy link