Skip to main content
POST
/
contacts
/
{id}
/
cv
Upload or replace a contact CV
curl --request POST \
  --url https://app.leonar.app/api/v1/contacts/{id}/cv \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "data": {
    "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "url": "<string>",
    "filename": "<string>",
    "content_type": "<string>",
    "size": 123,
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key starting with leo_

Path Parameters

id
string<uuid>
required

Contact ID

Body

multipart/form-data
file
file
required

CV file (PDF, DOC, or DOCX, max 10MB)

Response

Contact CV replaced

data
object