curl --request POST \
--url https://functions.prod.jarvi.tech/v1/public-api/rest/v2/applicants \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"referenceId": "JARVI001",
"projectId": "713a8005-e54d-4ee3-b6a4-89b27167dde6",
"firstName": "Quentin",
"lastName": "Decré",
"emailAddresses": "quentin@jarvi.tech, quentin@decre.tech",
"phoneNumbers": "+33752626164,0240493773",
"linkedinUrl": "https://www.linkedin.com/in/quentindecre/",
"historyEntrySubject": "Application from website",
"historyEntryMessage": "The message of the historyentry you want to show in the profile’s Jarvi history",
"resumesFiles": [
{
"fileName": "cv.pdf",
"data": "data:@file/pdf;base64,JVBERi0......AABTLAAAAAA="
}
],
"files": [
{
"fileName": "motivation.docx",
"data": "data:@file/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQ......AABTLAAAAAA="
}
],
"externalId": "Your id. Will merge with exisiting profile with same externalId",
"id": "Jarvi uuid. Will merge with exisiting profile with same id",
"location": "Rennes, France",
"headline": "Co-Founder Jarvi",
"currentCompanyName": "Jarvi",
"currentCompanyId": "Jarvi",
"currentPosition": "Co-founder",
"<any custom field uuid>": "My custom field value for this profile"
}'