- API base
- https://api.autojobs.me
- Sign up
POST /api/v1/agent-signup/start, thenPOST /api/v1/agent-signup/verify- Tools
GET /api/v1/agent/toolslists every tool with its input schema.POST /api/v1/agent/tools/<name>runs one.- MCP server
- https://api.autojobs.me/api/v1/mcp, with the same access token
- Refresh a token
POST https://api.autojobs.me/oauth/token- Markdown version
- https://tsenta.com/agents.md
Quickstart: one script, start to finish
The script below runs the whole path with curl and jq. It sends real job applications for the person, so run it only with their agreement, using their email and their résumé. It waits on the person at a few points: the code from the email, their work authorization, their street address and ZIP code when the profile has none (always the case on a new account), and a yes before it applies.
- Starts a signup with the person's email. Tsenta emails them a 6-digit code.
- Asks for the code, trades it for an access token and a refresh token, and saves both to
tsenta-token.json. - Sends the résumé with
submit-resumewhen the account has none yet or reading the last one failed, so a run after a failed one sends it again. It is JSON you extract from the person's résumé (resume.json, example below). - Polls
get-profile-statusuntil Tsenta has read the résumé, and printsmissingForApplication. - Asks the person about their work authorization on every run and saves their answers with
set-work-authorization. - Reads matches with
get-job-recommendationsand keeps 2 that Tsenta can apply to. - Applies to them with
apply-to-jobonce the person says yes. - Polls
get-evaluation-summaryand prints its verdict.
Run it as TSENTA_EMAIL=person@example.com bash tsenta-quickstart.sh in a terminal where someone can answer its questions. An agent whose shell can't answer prompts can send the same requests one at a time, as shown under Without the script.
On a new account, expect the verdict to say the applications need review: each tailored résumé waits for the person's approval, as described under Check every application before it is sent.
resume.json: the résumé as submit-resume takes it
Read the person's résumé yourself, from a PDF, pasted text or a LinkedIn profile, and write it in this shape. Keep every key, with null or an empty list when the résumé has nothing for it. The full schema is under submit-resume in GET /api/v1/agent/tools. This example is made up, so never send it for a real person.
Job dates need a month and a year ("Jun 2022") or "Present". Education dates can be a year. The phone is digits only, with the country code in phoneCountryCode. Tsenta keeps the email the account signed up with, not the one on the résumé.
Without the script: the signup requests
Start the signup. name is optional and only used for a new account.
The response is the same whether or not the email already has an account. For an existing account, the code goes to the address on file. Then send the code the person reads you:
account is created for a new account and existing when the email already had one. For an existing account, call get-evaluation-summary first: it may already have a résumé and applications. Keep refresh_token and client_id private, like a password.
Calling a tool
Every tool the Tsenta MCP server offers is also a plain HTTP endpoint. POST the tool's input as the JSON body ({} when it takes none), with the access token as a Bearer token. The tool's output is under result.
GET /api/v1/agent/tools returns each tool's name, description, input_schema (JSON Schema), read_only and destructive. Read it instead of guessing inputs: a body that doesn't match comes back as 400 invalid_input with an issues list. The OpenAPI document describes the signup, tool and token endpoints.
Tool calls run with the same permissions, limits and checks as the MCP server. A tool that runs and refuses returns 422 tool_error with ok: false and a plain message. Some tools report a problem inside a 200 result instead: apply-to-job lists each job with success and message, and returns remainingBalance.
Use MCP instead
The same access token works as a Bearer token on the MCP server, mcp_url in the verify response, so an agent that speaks MCP gets the same tools. In Claude Code:
A header keeps the token it was given, and access tokens last an hour. When it expires, refresh it, then remove the server (claude mcp remove tsenta) and add it again. Or connect with OAuth, which signs in through the browser and refreshes on its own: see the MCP setup guide.
Check every application before it is sent
Two separate controls let the person see what Tsenta prepared before an employer gets it. Both reviews belong to the person: show them what Tsenta prepared and act on their answer, never on your own judgment.
Résumé review
A new account starts with resume auto-approval off. After Tsenta tailors the résumé for a job, the application waits as PENDING_RESUME_REVIEW (counted as needsReview by get-evaluation-summary), and nothing is sent. Get a link to the tailored résumé, show it to the person, and approve only after they say yes:
The résumé link expires 5 minutes after the call. If the person would rather have applications sent without reading each résumé, they can turn auto-approval on: set-apply-preferences with {"autoApproveResume": true}.
Form review (review before submit)
With review before submit on, Tsenta fills the employer's form and stops before the final submit, as PENDING_SUBMIT_REVIEW. Read every filled answer with get-application-review, show it to the person, then send their decision with submit-application-review:
edits is optional and takes only keys from the review's editableFieldIds. A choice field takes one of its options[].value. "decision": "reject" skips the application and returns it to the person's allowance. Form review works on application systems that can pause before submitting. On other systems the application is sent without this pause, even with the setting on.
Refresh the access token
Access tokens last an hour (expires_in). Get a new one from the token endpoint with the refresh token and client ID from the verify response:
The response has a new access_token and the same refresh_token. A refresh token expires after 30 days without a refresh. After that, sign in again with start and verify, which connects the existing account.
Limits
- A new account gets 25 free applications, once, not monthly. Each application Tsenta queues uses one, and one that fails or is skipped is given back. Plans with more are at tsenta.com/pricing.
- The code has 6 digits, expires in 10 minutes and allows 5 tries. Starting again sends a new code, and the old one stops working.
- Starting a signup is rate limited: a 429 carries
retry_afterand aRetry-Afterheader, in seconds. Too many wrong codes pause the email for a while (423paused). - Tool calls are throttled per account, and some tools have a daily cap per account that resets at midnight UTC. A refused call returns 422
tool_errorsaying so and counts nothing. - Reading a résumé usually takes 30 to 60 seconds. Poll every 10 to 15 seconds, not faster.
- Only the person can read the code and decide on what Tsenta prepared. Their street address and ZIP code come from them too: ask, and save their answers with
set-personal-info.
Errors
Signup and tool endpoints answer with {"error": "<code>", "message": "<one sentence>"}, plus the extra fields named below. The token endpoint, and a 401 from the tool endpoints, use OAuth's {"error", "error_description"} instead. In the table, start and verify are the two signup requests, tools is any request under /api/v1/agent/tools, and token is /oauth/token.
| Endpoint | Status | error | What it means |
|---|---|---|---|
| start | 400 | invalid_request | The body isn't JSON or a field is wrong. agent_name takes 1 to 80 characters, name up to 120. |
| start | 400 | invalid_email | Not a single email address, or a Tsenta inbox address. Use the person's own email. |
| start | 403 | agent_not_allowed | Tsenta doesn't accept this agent_name. |
| start | 422 | signup_refused | Tsenta refused the signup, for example for a temporary inbox. message says why. |
| start | 429 | rate_limited | Too many signups started. Wait retry_after seconds (also in the Retry-After header). |
| start, verify | 423 | paused | Too many wrong codes for this email. Wait before trying again. |
| start | 502 | send_failed | The email with the code couldn't be sent. Try again. |
| start, verify | 503 | unavailable | Temporary. Try again shortly. |
| verify | 400 | invalid_code | The code isn't 6 digits. Spaces are fine. |
| verify | 400 | wrong_code | Wrong code. tries_left says how many tries remain. |
| verify | 410 | code_expired | The code expired, a newer code replaced it, or 5 wrong tries used it up. Start again. |
| verify | 403 | account_unavailable | The account is deleted, suspended or refused. |
| verify | 409 | email_conflict | An unfinished signup on the Tsenta website holds this email. message tells the person to sign in there once. Then start again. |
| tools | 400 | invalid_input | The body doesn't match the tool's input schema. issues lists each problem with its path. |
| tools | 401 | invalid_token | The access token is missing, invalid or expired, or the account or agent is no longer accepted. The reason is in error_description (OAuth's shape, not message), and the WWW-Authenticate header points at the sign-in metadata. Refresh the token once. Refreshing only helps an expired token, so if the 401 comes back, relay error_description to the person. |
| tools | 404 | unknown_tool | No tool by that name for agents. GET /api/v1/agent/tools lists them. |
| tools | 413 | body_too_large | The body is too large. Send a smaller tool input. |
| tools | 422 | tool_error | The tool ran and refused or failed (ok: false). message says why, such as a daily limit or a résumé that is still being read. |
| tools | 429 | rate_limited | Too many calls for this account. Wait retry_after seconds (also in the Retry-After header). |
| token | 400 | invalid_grant | The refresh token expired, is unknown, or belongs to another client_id. Sign in again with start and verify. |
| token | 400 | invalid_request | refresh_token or client_id is missing. |
A 200 can still carry a problem in result. From apply-to-job, a job's message can say the account is out of applications, the profile is missing something (with missingFields and a sign-in link in profileUrl), the person already applied, the posting closed, or Tsenta doesn't support that application system yet.
More
- MCP setup for Claude, ChatGPT, Cursor and Codex, with OAuth sign-in instead of a pasted token.
- OpenAPI document for the signup, tool and token endpoints.
- This guide as markdown, and in the Tsenta docs.
- Pricing once the free applications run out.
- Questions: founders@tsenta.com.