Creates or update a profile
curl --request POST \
  --url https://functions.prod.jarvi.tech/v1/public-api/rest/v2/profiles \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "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": "Interview notes",
  "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",
  "historyEntryType": "2788baea-1119-46d9-8e60-af9d6a1268e1"
}'
{
  "message": "Profile saved successfully",
  "taskId": "0b538428-7652-4243-baaf-3867803d7007",
  "profileId": "d730cca9-d8b0-49e7-b2e0-c58c1bb7af9f"
}
Je moet je privé api-sleutel gebruiken voor dit verzoek.

Je kunt alle informatie van elk profiel volledig aanpassen met behulp van Aangepaste velden. Klik op deze link om te begrijpen hoe je informatie in aangepaste velden kunt lezen en schrijven.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Response

201
application/json

The application has been saved

The response is of type object.