curl --request POST \
--url https://api.gospott.com/{publicTenantSlug}/candidate-portal/{candidateId} \
--header 'Content-Type: application/json' \
--data '{
"firstName": "<string>",
"lastName": "<string>",
"latestCvAttachmentId": "<string>",
"emails": [
{
"purpose": "personal",
"email": "jsmith@example.com",
"isPrimary": true
}
],
"phoneNumbers": [
{
"purpose": "personal",
"phoneNumber": "<string>",
"isPrimary": true
}
],
"socialMedia": [
{
"url": "<string>",
"type": "LINKEDIN",
"isPrimary": true
}
]
}'