Skip to main content

List Resumes

GET /api/v1/resumes

Retrieve a paginated list of all resumes in your account.

Request

Headers

HeaderValueRequired
AuthorizationBearer YOUR_API_KEYREQUIRED

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number for pagination
limitinteger20Number of resumes per page (max: 100)

Response

Success Response

Status Code: 200 OK

{
"resumes": [
{
"id": "64f1a2b3c4d5e6f7g8h9i0j1",
"title": "Software Engineer Resume",
"filename": "JohnDoeResume.pdf",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-20T14:45:00.000Z",
"isCoverLetter": false
},
{
"id": "64f1a2b3c4d5e6f7g8h9i0j2",
"title": "Marketing Manager Resume",
"filename": "JaneDoeResume.pdf",
"createdAt": "2024-01-10T09:15:00.000Z",
"updatedAt": "2024-01-18T11:20:00.000Z",
"isCoverLetter": false
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 2,
"pages": 1
}
}

Response Fields

Resume Object

FieldTypeDescription
idstringUnique identifier for the resume
titlestringTitle of the resume
filenamestringSuggested filename for downloads
createdAtstring (ISO 8601)When the resume was created
updatedAtstring (ISO 8601)When the resume was last updated
isCoverLetterbooleanWhether this is a cover letter

Pagination Object

FieldTypeDescription
pageintegerCurrent page number
limitintegerNumber of items per page
totalintegerTotal number of resumes
pagesintegerTotal number of pages

Examples

Basic Request

cURL
curl https://api.enhancv.com/api/v1/resumes \
-H "Authorization: Bearer enh_live_your_api_key_here"
JavaScript
const response = await fetch('https://api.enhancv.com/api/v1/resumes', {
headers: {
'Authorization': 'Bearer enh_live_your_api_key_here'
}
});

const data = await response.json();
console.log(data.resumes);
Python
import requests

response = requests.get(
'https://api.enhancv.com/api/v1/resumes',
headers={'Authorization': 'Bearer enh_live_your_api_key_here'}
)

data = response.json()
print(data['resumes'])

With Pagination

cURL
curl "https://api.enhancv.com/api/v1/resumes?page=2&limit=10" \
-H "Authorization: Bearer enh_live_your_api_key_here"
JavaScript
const response = await fetch(
'https://api.enhancv.com/api/v1/resumes?page=2&limit=10',
{
headers: {
'Authorization': 'Bearer enh_live_your_api_key_here'
}
}
);

const data = await response.json();

Error Responses

401 Unauthorized

Missing or invalid API key.

{
"error": "Invalid API key",
"status": 401
}

403 Forbidden

Account doesn't have business plan.

{
"error": "API access requires a business plan",
"status": 403
}

Notes

  • Resumes are sorted by creation date (newest first)
  • Maximum limit value is 100
  • Minimum page value is 1
  • Cover letters are included in the response with isCoverLetter: true