Yardstick People API

People are stable identity records for applicants, leads, or contacts. Browser-safe publishable keys may only create people for intake; listing, retrieval, and updates require secret keys. Create or reuse a Person before creating an Application for a job.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 6

POST /v1/people Create a person #
GET /v1/people List people #
GET /v1/people/{person_id} Retrieve a person #
PATCH /v1/people/{person_id} Update a person #
POST /v1/people/{person_id}/resume_upload_sessions Create a resume upload session #
POST /v1/people/{person_id}/resume_upload_sessions/{session_id}/finalize Finalize a resume upload session #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/yardstick-team:yardstick-team-people-api"
All apis
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.

Get an API 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 Specification

yardstick-team-people-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yardstick Team People API
  version: '2026-05-02'
  description: 'Operations tagged People across 2 of this provider''s published API definitions: api.yardstick.team_v1_openapi.json, yardstick-team-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.yardstick.team
  description: Production
security:
- bearerAuth: []
tags:
- name: People
  description: People are stable identity records for applicants, leads, or contacts. Browser-safe publishable keys may only create people for intake; listing, retrieval, and updates require secret keys. Create or reuse a Person before creating an Application for a job.
paths:
  /v1/people:
    post:
      operationId: createPeople
      summary: Create a person
      description: 'Create a person


        **Required scopes:** `people:write`


        Accepts both publishable (`ys_pk_*`) and secret (`ys_sk_*`) keys. Use a publishable key when posting from a browser intake form (the example below); use a secret key with `people:write` for server-to-server flows — the canonical create path before `POST /v1/applications`, which requires `person_id`.


        **Example (curl):**


        ```bash

        curl -X POST https://api.yardstick.team/v1/people \

        -H ''Authorization: Bearer ys_pk_live_…'' \

        -H ''Content-Type: application/json'' \

        -H ''Idempotency-Key: 7c3a…'' \

        -d ''{"email":"alex@example.com","name":"Alex Lee"}''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/people", {

        method: "POST",

        headers: {

        Authorization: `Bearer ${process.env.YS_API_KEY}`,

        "Content-Type": "application/json",

        "Idempotency-Key": crypto.randomUUID(),

        },

        body: JSON.stringify({ email: "alex@example.com", name: "Alex Lee" }),

        });

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:write
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 500
                email:
                  type: string
                  format: email
                  maxLength: 320
                phone:
                  type: string
                  maxLength: 50
                linkedin_url:
                  type: string
                  format: uri
                  maxLength: 2048
                resume_url:
                  type: string
                  format: uri
                  maxLength: 2048
                notes:
                  type: string
                  maxLength: 10000
              additionalProperties: false
    get:
      operationId: listPeople
      summary: List people
      description: 'List people


        **Required scopes:** `people:read`


        **Example (curl):**


        ```bash

        curl ''https://api.yardstick.team/v1/people?limit=20'' \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/people?limit=20", {

        headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` },

        }).then((r) => r.json());

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:read
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ListEnvelope'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Person'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: limit
        in: query
        required: false
        description: Page size (1-100, default 20).
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: starting_after
        in: query
        required: false
        description: 'Cursor: id of the last record from the previous page.'
        schema:
          type: string
      - name: email
        in: query
        required: false
        description: Return only the Person with this exact email. Use it to find the existing record after a `candidate_email_conflict`.
        schema:
          type: string
          format: email
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
    servers:
    - url: https://api.yardstick.team
      description: Production
  /v1/people/{person_id}:
    get:
      operationId: retrievePeoplePerson_id
      summary: Retrieve a person
      description: 'Retrieve a person


        **Required scopes:** `people:read`


        **Example (curl):**


        ```bash

        curl https://api.yardstick.team/v1/people/per_abc123 \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/people/per_abc123", {

        headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` },

        }).then((r) => r.json());

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:read
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
    patch:
      operationId: updatePeoplePerson_id
      summary: Update a person
      description: 'Update a person


        **Required scopes:** `people:write`


        **Example (curl):**


        ```bash

        curl -X PATCH https://api.yardstick.team/v1/people/per_abc123 \

        -H ''Authorization: Bearer ys_sk_live_…'' \

        -H ''Content-Type: application/json'' \

        -d ''{"phone":"+1-555-0100"}''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch("https://api.yardstick.team/v1/people/per_abc123", {

        method: "PATCH",

        headers: {

        Authorization: `Bearer ${process.env.YS_API_KEY}`,

        "Content-Type": "application/json",

        },

        body: JSON.stringify({ phone: "+1-555-0100" }),

        });

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:write
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 500
                email:
                  type: string
                  format: email
                  maxLength: 320
                phone:
                  type: string
                  maxLength: 50
                  nullable: true
                linkedin_url:
                  type: string
                  format: uri
                  maxLength: 2048
                  nullable: true
                resume_url:
                  type: string
                  format: uri
                  maxLength: 2048
                  nullable: true
                notes:
                  type: string
                  maxLength: 10000
                  nullable: true
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
  /v1/people/{person_id}/resume_upload_sessions:
    post:
      operationId: createResumeUploadSession
      summary: Create a resume upload session
      description: 'Create a resume upload session


        **Required scopes:** `people:write`


        Server-mediated signed upload-session. Returns a single-path, short-lived (≤5 min), one-shot signed Storage `upload_url`. Upload the PDF or DOCX bytes to that URL with an HTTP `PUT`, then call the finalize endpoint to attach and parse the resume. Secret keys (`ys_sk_*`) only.


        **Example (curl):**


        ```bash

        curl -X POST https://api.yardstick.team/v1/people/per_abc123/resume_upload_sessions \

        -H ''Authorization: Bearer ys_sk_live_…'' \

        -H ''Content-Type: application/json'' \

        -d ''{"file_name":"resume.pdf","size_bytes":48211,"content_type":"application/pdf"}''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch(

        "https://api.yardstick.team/v1/people/per_abc123/resume_upload_sessions",

        {

        method: "POST",

        headers: {

        Authorization: `Bearer ${process.env.YS_API_KEY}`,

        "Content-Type": "application/json",

        },

        body: JSON.stringify({

        file_name: "resume.pdf",

        size_bytes: 48211,

        content_type: "application/pdf",

        }),

        },

        ).then((r) => r.json());

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:write
      responses:
        '201':
          description: Resume upload session created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResumeUploadSession'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                file_name:
                  type: string
                  minLength: 1
                  maxLength: 255
                size_bytes:
                  type: integer
                  minimum: 1
                  maximum: 10485760
                content_type:
                  type: string
                  minLength: 1
                  maxLength: 255
              required:
              - file_name
              - size_bytes
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
  /v1/people/{person_id}/resume_upload_sessions/{session_id}/finalize:
    post:
      operationId: finalizeResumeUploadSession
      summary: Finalize a resume upload session
      description: 'Finalize a resume upload session


        **Required scopes:** `people:write`


        Re-validates the uploaded object, attaches it as the person''s resume, and parses it for each of the person''s linked applications. Idempotent: re-finalizing a consumed session returns the person without re-attaching or re-parsing. Call after the bytes have been PUT to the session''s `upload_url`.


        **Example (curl):**


        ```bash

        curl -X POST https://api.yardstick.team/v1/people/per_abc123/resume_upload_sessions/rus_abc123/finalize \

        -H ''Authorization: Bearer ys_sk_live_…''

        ```


        **Example (TypeScript):**


        ```ts

        await fetch(

        "https://api.yardstick.team/v1/people/per_abc123/resume_upload_sessions/rus_abc123/finalize",

        {

        method: "POST",

        headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` },

        },

        ).then((r) => r.json());

        ```'
      tags:
      - People
      deprecated: false
      security:
      - bearerAuth:
        - people:write
      responses:
        '200':
          description: Resume attached to the person.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Person'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Permission denied (scope or feature flag)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (e.g. idempotency key reuse with different body)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
      - name: session_id
        in: path
        required: true
        schema:
          type: string
      - name: Idempotency-Key
        in: header
        required: false
        description: Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
        schema:
          type: string
      - name: X-Request-Id
        in: header
        required: false
        description: Optional caller-supplied request identifier. Values must match `^[A-Za-z0-9_-]{1,128}$`; a valid value is echoed in the response `X-Request-Id` header, otherwise the API generates one.
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: {}
              additionalProperties: false
    servers:
    - url: https://api.yardstick.team
      description: Production
components:
  schemas:
    Person:
      type: object
      properties:
        id:
          type: string
          description: Display id, e.g. `per_<base32>`
        object:
          type: string
          enum:
          - person
        name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phone:
          type: string
          nullable: true
        linkedin_url:
          type: string
          nullable: true
        resume_url:
          type: string
          nullable: true
        notes:
          type: string
          nullable: true
        livemode:
          type: boolean
      required:
      - id
      - object
      - name
      - email
      - phone
      - linkedin_url
      - resume_url
      - notes
      - livemode
      additionalProperties: false
      description: Canonical person record for an applicant, lead, or contact.
    ListEnvelope:
      type: object
      properties:
        object:
          type: string
          enum:
          - list
        data:
          type: array
          items: {}
        has_more:
          type: boolean
      required:
      - object
      - data
      - has_more
      additionalProperties: false
      description: Cursor-paginated list envelope.
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
              - invalid_request_error
              - authentication_error
              - permission_error
              - rate_limit_error
              - api_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
            details:
              type: object
              additionalProperties: {}
              description: Machine-readable specifics for offer document refusals only, such as the missing fill-ins of required_answers_missing or the clashing fill-in of fill_in_type_clash.
          required:
          - type
          - code
          - message
          - request_id
          additionalProperties: false
      required:
      - error
      additionalProperties: false
      description: Canonical API error envelope. Every 404 not-found response uses a resource-specific code and includes param with the exact body field or path parameter that referenced the unavailable resource. Use code and param for programmatic handling, and request_id for support; message text is not a stable contract.
    ResumeUploadSession:
      type: object
      properties:
        id:
          type: string
          description: Display id, e.g. `rus_<base32>`
        object:
          type: string
          enum:
          - resume_upload_session
        person_id:
          type: string
          description: Canonical `per_...` person id.
        upload_url:
          type: string
          description: Single-path, short-lived (≤5 min), one-shot signed Storage URL. PUT the resume bytes here, then call finalize.
        object_path:
          type: string
          description: Server-minted storage object key for the resume.
        expires_at:
          type: string
          description: ISO-8601 UTC expiry of the signed upload URL.
        status:
          type: string
          enum:
          - pending
      required:
      - id
      - object
      - person_id
      - upload_url
      - object_path
      - expires_at
      - status
      additionalProperties: false
      description: 'A pending resume upload session: hand the signed `upload_url` the bytes, then finalize.'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Yardstick API tokens. Format: `ys_(sk|pk)_(live|test)_<32+ chars>`. **Secret keys** (`ys_sk_…`) are server-only — using one from a browser origin returns `secret_key_browser_denied`. **Publishable keys** (`ys_pk_…`) are browser-safe and restricted to intake-only person creation.'
x-refined-from:
- api.yardstick.team_v1_openapi.json
- yardstick-team-openapi.json
x-provenance:
  method: harvested
  publisher: Yardstick
  source: https://api.yardstick.team/v1/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)