curl --request POST \
--url https://api.gospott.com/candidate-portal/open-application \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"firstName": "<string>",
"lastName": "<string>",
"cvAttachmentId": "<string>",
"email": {
"purpose": "personal",
"email": "jsmith@example.com",
"isPrimary": true
},
"phoneNumber": {
"purpose": "personal",
"phoneNumber": "<string>",
"isPrimary": true
}
}
'