YouSpot Jobs API
Work that outlives one request, and where to poll for it.
Work that outlives one request, and where to poll for it.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/youspot-com:youspot-com-jobs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: YouSpot HTTP Jobs API
version: 1.0.0
summary: The public HTTP surface of a personal CRM, and the OAuth server in front of the private part.
description: 'YouSpot is a personal CRM. This document covers everything reachable over plain HTTP.
What needs no credential: the agent index, the question endpoint, the documentation MCP server, the A2A endpoint, the public member directory and profiles, and every discovery document.
What needs one: the product MCP server''s `tools/call`, because every tool reads or writes one person''s own contacts, companies, notes and files. Its `initialize`, `ping` and `tools/list` answer anonymously so a client can handshake before anyone signs in.
There is no client credentials grant and no API keys. A credential here is always one person delegating their own access, through OAuth 2.1 with PKCE S256 and dynamic client registration.
Every page on this site also answers as markdown: append `.md` to the path or send `Accept: text/markdown`. The index is at https://youspot.com/llms.txt.
Versioning and deprecation: the product MCP server is versioned in the URL (`/mcp` tracks the latest, `/mcp/v1` stays pinned). A path being retired answers with a `Deprecation` header and a `Link` with `rel="successor-version"`; once a removal date is set it also carries `Sunset` (RFC 8594), at least 180 days before removal. Deprecated today: the `q` alias on `/ask`, in favour of `query`, with no removal date set. The policy is at https://youspot.com/docs/versioning.'
x-deprecation-policy: https://youspot.com/docs/versioning
termsOfService: https://youspot.com/terms
contact:
name: YouSpot, Inc.
email: support@youspot.com
url: https://youspot.com/docs
servers:
- url: https://youspot.com
description: Production
- url: https://youspot.com/sandbox
description: 'Sandbox: the anonymous paths below, mounted under /sandbox. /mcp answers there as the demo-account server, so tools/call needs no credential and every tool that writes is refused; the other mounted paths answer exactly as in production. The OAuth, jobs and commerce endpoints are not mounted. Described at /sandbox.'
tags:
- name: Jobs
description: Work that outlives one request, and where to poll for it.
paths:
/api/jobs:
post:
tags:
- Jobs
operationId: startJob
summary: Start a resync and get back where to poll for it
description: 'Work that cannot finish inside one request answers `202 Accepted` rather than making you wait. `Location` names the job, and `poll` in the body is the same URL for clients that read bodies rather than headers.
Starting the same kind twice while it is still running reports the running job instead of queuing a second one, and still answers 202: the work is accepted either way. `started` says which call was the one that queued it.
Every kind here re-reads accounts you have already connected, so it is safe to repeat. Nothing destructive can be started this way.'
security:
- bearerAuth: []
- oauth2:
- linkedin
parameters:
- name: Idempotency-Key
in: header
required: false
description: A unique string, usually a UUID, naming this attempt. Repeating a request under the same key returns the first answer instead of writing again, for 24 hours. The same key with a different body is a 422. The answer carries `Idempotency-Replayed`. A key is scoped to the credential that sent it, so it only ever replays your own answer and never has to be unguessable.
schema:
type: string
maxLength: 255
example: 3f1a2b6c-7d8e-4f90-a1b2-c3d4e5f60718
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JobRequest'
responses:
'202':
description: The job is queued or already running.
headers:
Location:
description: The job this request started. Poll it until `terminal` is true.
schema:
type: string
format: uri
example: https://youspot.com/api/jobs/8412
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
Idempotency-Replayed:
description: '`true` when this body is a recorded answer to an earlier request under the same key.'
schema:
type: string
enum:
- 'true'
- 'false'
content:
application/json:
schema:
$ref: '#/components/schemas/JobAccepted'
'400':
description: The request was refused. `error` is stable; read `error_description` for the reason.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: The request was refused. `error` is stable; read `error_description` for the reason.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
description: This `Idempotency-Key` was already used on this operation with a different request body.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/api/jobs/{job_id}:
get:
tags:
- Jobs
operationId: getJob
summary: Poll work that outlived the request that started it
description: 'A tool that cannot finish inside one call enqueues instead, and answers with `task_id`. That id is this `job_id`.
Poll until `terminal` is true. A job that is still going carries `Retry-After`, which is the interval to use. `result` is filled once `state` is `succeeded`, `error` once it is `failed`.
A job is readable only by the member it belongs to.'
security:
- bearerAuth: []
- oauth2:
- linkedin
parameters:
- name: job_id
in: path
required: true
description: The `task_id` a tool returned.
schema:
type: integer
responses:
'200':
description: The job as it stands.
headers:
Retry-After:
description: Seconds to wait before retrying.
schema:
type: integer
content:
application/json:
schema:
$ref: '#/components/schemas/Job'
'401':
description: The request was refused. `error` is stable; read `error_description` for the reason.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: The request was refused. `error` is stable; read `error_description` for the reason.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
JobAccepted:
type: object
required:
- success
- job_id
- kind
- state
- started
- poll
properties:
success:
type: boolean
job_id:
type: integer
kind:
type: string
enum:
- linkedin_posts_sync
- twitter_posts_sync
- twitter_connections_sync
- embed_objects
state:
type: string
enum:
- queued
- running
started:
type: boolean
description: False when this kind was already running and that job is the one named here.
poll:
type: string
format: uri
description: Where to poll. The same URL as the `Location` header.
Job:
type: object
required:
- success
- job_id
- kind
- state
- terminal
properties:
success:
type: boolean
job_id:
type: integer
kind:
type: string
description: What the job does, e.g. `file_import`.
state:
type: string
enum:
- queued
- running
- succeeded
- failed
- cancelled
terminal:
type: boolean
description: True once the state can no longer change. Stop polling.
attempts:
type: integer
description: Runs so far, including the current one.
progress:
type:
- object
- 'null'
additionalProperties: true
description: Whatever the job checkpoints as it goes. Shape depends on `kind`.
created_at:
type:
- string
- 'null'
format: date-time
started_at:
type:
- string
- 'null'
format: date-time
finished_at:
type:
- string
- 'null'
format: date-time
result:
type:
- object
- 'null'
additionalProperties: true
description: Filled once `state` is `succeeded`.
error:
type:
- string
- 'null'
description: Filled once `state` is `failed`.
Error:
type: object
required:
- error
properties:
error:
type: string
examples:
- invalid_request
- not_found
error_description:
type: string
documentation_url:
type: string
format: uri
JobRequest:
type: object
required:
- kind
properties:
kind:
type: string
description: Which resync to run. Anything else is a 400 that names the ones you can.
enum:
- linkedin_posts_sync
- twitter_posts_sync
- twitter_connections_sync
- embed_objects
securitySchemes:
oauth2:
type: oauth2
description: Authorization code with PKCE S256. Register at https://youspot.com/oauth/register; the metadata is at https://youspot.com/.well-known/oauth-authorization-server.
flows:
authorizationCode:
authorizationUrl: https://youspot.com/oauth/authorize
tokenUrl: https://youspot.com/oauth/token
refreshUrl: https://youspot.com/oauth/token
scopes:
linkedin: Read and write the signed-in person's own CRM.
bearerAuth:
type: http
scheme: bearer
description: An OAuth access token, or a per-tool token the member minted at https://youspot.com/user/mcp.
externalDocs:
description: Developer documentation
url: https://youspot.com/docs