API Documentation

Integrate Zusageheld into your applications with our REST API. Available for Enterprise customers.

Base URL: https://zusageheld.de/api/v1

Authentication

All API requests require a valid API key sent in the Authorization header using the Bearer scheme.

Header format
Authorization: Bearer zh_xxx

API keys can be created and managed from your Settings → API Keys page. Each key has configurable scopes:

  • read — List and retrieve resumes and cover letters
  • write — Create and update resources
  • analyze — Trigger AI analysis on resumes

API keys are shown only once at creation time. Store them securely and never share them in client-side code or public repositories.

Available Endpoints

GET/api/v1/resumes

List all resumes for the authenticated user. Returns the 50 most recent resumes.

Required scope: read

Response example
{
  "resumes": [
    {
      "id": "clx1abc...",
      "originalFileUrl": "resume.pdf",
      "jobTitle": "Software Engineer",
      "status": "completed",
      "atsScore": 78,
      "createdAt": "2025-01-15T10:30:00.000Z",
      "updatedAt": "2025-01-15T10:35:00.000Z"
    }
  ]
}
GET/api/v1/resumes/:id

Get detailed analysis results for a specific resume, including ATS score, strengths, weaknesses, and suggestions.

Required scope: read

Response example
{
  "resume": {
    "id": "clx1abc...",
    "originalFileUrl": "resume.pdf",
    "jobTitle": "Software Engineer",
    "status": "completed",
    "atsScore": 78,
    "strengths": [
      "Clear structure",
      "Relevant keywords"
    ],
    "weaknesses": [
      "Missing quantifiable achievements"
    ],
    "suggestions": [
      "Add metrics to work experience",
      "Include a professional summary"
    ],
    "createdAt": "2025-01-15T10:30:00.000Z",
    "updatedAt": "2025-01-15T10:35:00.000Z"
  }
}
GET/api/v1/cover-letters

List all cover letters for the authenticated user. Returns the 50 most recent cover letters.

Required scope: read

Response example
{
  "coverLetters": [
    {
      "id": "clx2def...",
      "jobDescription": "Senior Frontend Developer at...",
      "content": "Sehr geehrte Damen und Herren...",
      "createdAt": "2025-01-16T14:00:00.000Z"
    }
  ]
}

Rate Limits

API requests are rate-limited to ensure fair usage and platform stability.

PlanLimitWindow
Enterprise100 requestsPer minute, per API key

When you exceed the rate limit, the API returns 429 Too Many Requests. Retry after the window resets.

Error Codes

The API uses standard HTTP status codes and returns errors in a consistent JSON format.

Error response format
{
  "error": "Description of what went wrong."
}
StatusMeaning
200Success
400Bad Request -- Invalid parameters
401Unauthorized -- Missing or invalid API key
403Forbidden -- API key lacks required scope
404Not Found -- Resource does not exist
429Too Many Requests -- Rate limit exceeded
500Internal Server Error -- Something went wrong on our end

Code Examples

cURL

List resumes
curl -X GET https://zusageheld.de/api/v1/resumes \
  -H "Authorization: Bearer zh_xxx"
Get resume details
curl -X GET https://zusageheld.de/api/v1/resumes/clx1abc \
  -H "Authorization: Bearer zh_xxx"

JavaScript / fetch

List resumes
const response = await fetch("https://zusageheld.de/api/v1/resumes", {
  headers: {
    Authorization: "Bearer zh_xxx",
  },
});

const data = await response.json();
console.log(data.resumes);
Get resume details
const resumeId = "clx1abc";
const response = await fetch(
  `https://zusageheld.de/api/v1/resumes/${resumeId}`,
  {
    headers: {
      Authorization: "Bearer zh_xxx",
    },
  }
);

const data = await response.json();
console.log(data.resume.atsScore);

Python

List resumes
import requests

headers = {"Authorization": "Bearer zh_xxx"}

response = requests.get(
    "https://zusageheld.de/api/v1/resumes",
    headers=headers,
)

data = response.json()
for resume in data["resumes"]:
    print(f"{resume['jobTitle']} — ATS Score: {resume['atsScore']}")
Get cover letters
import requests

headers = {"Authorization": "Bearer zh_xxx"}

response = requests.get(
    "https://zusageheld.de/api/v1/cover-letters",
    headers=headers,
)

data = response.json()
for letter in data["coverLetters"]:
    print(f"Cover letter for: {letter['jobDescription'][:50]}...")

Need help? Contact us at support@zusageheld.de. API access is available on the Enterprise plan.