Cavuno Imports API

Bulk job imports: upload, map fields, confirm, and track progress.

Operations 6

GET /imports List import batches #
POST /imports Upload a file and start discovery #
POST /imports/{id}/confirm Confirm the mapping and start execution #
POST /imports/{id}/cancel Cancel an import batch #
GET /imports/quota Retrieve import quota #
GET /imports/{id} Retrieve an import batch #

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/cavuno-com:cavuno-com-imports-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cavuno-com-imports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cavuno v1 REST Imports API
  version: 1.0.0
  description: 'The Cavuno API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. ## Base URL


    Production: `https://api.cavuno.com/v1`


    All API requests must be made over HTTPS. Calls made over plain HTTP will fail. ## Authentication


    The Cavuno API uses API keys to authenticate requests. You can view and manage your API keys in the Cavuno dashboard, under Settings → Developer → API keys. Cavuno API keys have the prefix `cavuno_live_`. Your API keys carry many privileges, so be sure to keep them secure. Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. Authentication to the API is performed via Bearer auth. Provide your API key as the bearer token in the `Authorization` header:


    ```bash

    curl https://api.cavuno.com/v1/jobs \

    -H "Authorization: Bearer YOUR_SECRET_API_KEY"

    ```


    API requests without authentication will fail. ## Rate limits


    The Cavuno API has rate limits in place to ensure stability and reliability. By default, API keys are limited to 100 requests per minute. If you exceed your limit, requests return an HTTP 429 response with a `Retry-After` header indicating when you can try again. If you have a use case that needs a higher limit, contact support. ## Idempotency


    The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a job fails due to a network connection error, you can safely retry the request with the same idempotency key, and we''ll guarantee that only one job is created. To perform an idempotent request, provide an additional `Idempotency-Key` header on any `POST`, `PATCH`, or `DELETE` request:


    ```bash

    curl https://api.cavuno.com/v1/jobs \

    -X POST \

    -H "Authorization: Bearer cavuno_live_..." \

    -H "Idempotency-Key: $(uuidgen)" \

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

    -d ''{ "title": "Senior Engineer" }''

    ```


    ## Errors


    Cavuno uses conventional HTTP response codes to indicate the success or failure of an API request. In general: codes in the `2xx` range indicate success, codes in the `4xx` range indicate an error that failed given the information provided (e.g., a required parameter was omitted), and codes in the `5xx` range indicate an error with Cavuno''s servers (these are rare). Error responses include a JSON body with details:


    ```json

    {

    "error": {

    "code": "validation_bad_request",

    "message": "Field ''title'' is required.",

    "requestId": "req_..."

    }

    }

    ```


    Some errors carry an additional `details` field with structured context, such as per-field validation issues. ### Plan upgrade hints


    When an Operator API request is refused because of the board''s Cavuno plan, the error also carries an `upgrade` object. It names the capability that blocked the request, the cheapest self-serve plan that unlocks it (when that can be told), and the hosted billing endpoints that start the upgrade:


    ```json

    {

    "error": {

    "code": "settings_plan_required_for_branding_removal",

    "message": "Removing Cavuno branding requires a plan that includes branding removal.",

    "requestId": "req_...",

    "upgrade": {

    "capability": "canRemoveBranding",

    "requiredPlan": "basic",

    "checkout": { "method": "POST", "path": "/v1/billing/checkout" },

    "changePlan": { "method": "POST", "path": "/v1/billing/upgrade" }

    }

    }

    }

    ```


    Call `GET /v1/billing/subscription` first. With no active subscription, use `checkout`; with one, use `changePlan`. Send `{ "planKey": "" }` and give the returned `url` to a person: both endpoints return a hosted page where a person confirms the purchase. Nothing is charged until they do. Each `path` is relative to the API origin (`https://api.cavuno.com`), like `Location` headers and list `url` fields, so do not join it to a base URL that already ends in `/v1`.'
  contact:
    name: Cavuno
    url: https://cavuno.com
servers:
- url: https://api.cavuno.com/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Imports
  description: 'Bulk job imports: upload, map fields, confirm, and track progress.'
paths:
  /imports:
    get:
      summary: List import batches
      description: Returns your import batches, most recent first. Filter by status and creation-time range.
      parameters:
      - schema:
          type: string
          minLength: 1
        required: false
        name: cursor
        in: query
      - schema:
          type: integer
          minimum: 1
          maximum: 50
        required: false
        name: limit
        in: query
      - schema:
          type: string
          enum:
          - pending
          - processing
          - completed
          - partial
          - failed
          description: Filter by batch status (single value).
        required: false
        description: Filter by batch status (single value).
        name: status
        in: query
      - schema:
          type: string
          format: date-time
          description: Only batches created at or after this ISO 8601 timestamp.
        required: false
        description: Only batches created at or after this ISO 8601 timestamp.
        name: from
        in: query
      - schema:
          type: string
          format: date-time
          description: Only batches created at or before this ISO 8601 timestamp.
        required: false
        description: Only batches created at or before this ISO 8601 timestamp.
        name: to
        in: query
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  object:
                    type: string
                    enum:
                    - list
                  url:
                    type: string
                    example: /v1/imports
                  hasMore:
                    type: boolean
                  nextCursor:
                    type:
                    - string
                    - 'null'
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Import'
                required:
                - object
                - url
                - hasMore
                - nextCursor
                - data
        '400':
          description: The pagination cursor or query is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: listImports
    post:
      summary: Upload a file and start discovery
      description: Uploads a CSV (multipart/form-data `file`) and starts the async `imports.parse` discovery operation. Only `sourceFormat=csv` is supported in v1.
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
                  description: The CSV file to discover and import.
                sourceFormat:
                  type: string
                  enum:
                  - csv
                  description: Optional source format. Defaults to `csv`.
              required:
              - file
      responses:
        '202':
          description: Discovery operation started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResource'
        '400':
          description: Unsupported source format or invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: The file exceeds the maximum size.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Unsupported file type.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Daily import limit reached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: createImport
  /imports/{id}/confirm:
    post:
      summary: Confirm the mapping and start execution
      description: Confirms the proposed (or an inline) mapping and starts the async `imports.confirm` execution operation.
      parameters:
      - schema:
          type: string
          minLength: 1
          description: The import batch ID.
        required: true
        description: The import batch ID.
        name: id
        in: path
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmImportBody'
      responses:
        '202':
          description: Execution operation started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationResource'
        '400':
          description: No mapping available.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Import not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Import already confirmed or terminal.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: confirmImport
  /imports/{id}/cancel:
    post:
      summary: Cancel an import batch
      description: Cancels a pending or running import batch. Rows already written remain.
      parameters:
      - schema:
          type: string
          minLength: 1
          description: The import batch ID.
        required: true
        description: The import batch ID.
        name: id
        in: path
      responses:
        '200':
          description: The updated import batch.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportDetail'
        '404':
          description: Import not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Import is already in a terminal state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: cancelImport
  /imports/quota:
    get:
      summary: Retrieve import quota
      description: Your account's daily import usage and reset boundary.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportQuota'
        default:
          description: An error. Every non-2xx response uses the same envelope; see the Errors section of the introduction.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: getImportsQuota
  /imports/{id}:
    get:
      summary: Retrieve an import batch
      description: Returns one import batch including live status, row errors, and the proposed mapping.
      parameters:
      - schema:
          type: string
          minLength: 1
          description: The import batch ID.
        required: true
        description: The import batch ID.
        name: id
        in: path
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportDetail'
        '404':
          description: Import not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-audience: operator
      tags:
      - Imports
      operationId: getImport
components:
  schemas:
    OperationErrorEnvelope:
      type:
      - object
      - 'null'
      properties:
        code:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable error message.
      required:
      - code
      - message
      description: Error envelope, populated once the operation reaches `failed`. `null` otherwise.
    ImportBatchError:
      type: object
      properties:
        rowIndex:
          type: number
        code:
          type: string
        message:
          type: string
      required:
      - rowIndex
      - code
      - message
    Import:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
          - import
        filename:
          type: string
        sourceFormat:
          type: string
        status:
          type: string
        discoveryStatus:
          type:
          - string
          - 'null'
        totalRows:
          type: number
        processedRows:
          type: number
        createdCount:
          type: number
        updatedCount:
          type: number
        skippedCount:
          type: number
        errorCount:
          type: number
        startedAt:
          type:
          - string
          - 'null'
        completedAt:
          type:
          - string
          - 'null'
        createdAt:
          type: string
      required:
      - id
      - object
      - filename
      - sourceFormat
      - status
      - discoveryStatus
      - totalRows
      - processedRows
      - createdCount
      - updatedCount
      - skippedCount
      - errorCount
      - startedAt
      - completedAt
      - createdAt
    ConfirmImportBody:
      type: object
      properties:
        inlineMapping:
          type: object
          properties:
            fieldMappings:
              type: array
              items:
                type: object
                properties:
                  sourceColumn:
                    type: string
                  targetField:
                    type: string
                  confidence:
                    type: number
                  notes:
                    type: string
                required:
                - sourceColumn
                - targetField
                - confidence
            defaults:
              type: object
              properties:
                employmentType:
                  type: string
                remoteOption:
                  type: string
                currency:
                  type: string
                descriptionFormat:
                  type: string
              default: {}
            valueTransforms:
              type: array
              items:
                type: object
                properties:
                  sourceColumn:
                    type: string
                  targetField:
                    type: string
                  map:
                    type: object
                    additionalProperties:
                      type: string
                  fallback:
                    type: string
                required:
                - sourceColumn
                - targetField
                - map
              default: []
          required:
          - fieldMappings
          additionalProperties: false
          description: A first-time or revised mapping review to persist. Omit it to accept the mapping already attached to this Import.
      additionalProperties: false
    ImportQuota:
      type: object
      properties:
        object:
          type: string
          enum:
          - import_quota
        used:
          type: number
        remaining:
          type: number
        limit:
          type: number
        resetAt:
          type: string
      required:
      - object
      - used
      - remaining
      - limit
      - resetAt
    ImportDetail:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
          - import
        filename:
          type: string
        sourceFormat:
          type: string
        status:
          type: string
        discoveryStatus:
          type:
          - string
          - 'null'
        totalRows:
          type: number
        processedRows:
          type: number
        createdCount:
          type: number
        updatedCount:
          type: number
        skippedCount:
          type: number
        errorCount:
          type: number
        startedAt:
          type:
          - string
          - 'null'
        completedAt:
          type:
          - string
          - 'null'
        createdAt:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ImportBatchError'
        proposedMapping:
          type:
          - object
          - 'null'
          properties:
            fieldMappings:
              type: array
              items:
                type: object
                properties:
                  sourceColumn:
                    type: string
                  targetField:
                    type: string
                  confidence:
                    type: number
                  notes:
                    type: string
                required:
                - sourceColumn
                - targetField
                - confidence
            defaults:
              type: object
              properties:
                employmentType:
                  type: string
                remoteOption:
                  type: string
                currency:
                  type: string
                descriptionFormat:
                  type: string
            valueTransforms:
              type: array
              items:
                type: object
                properties:
                  sourceColumn:
                    type: string
                  targetField:
                    type: string
                  map:
                    type: object
                    additionalProperties:
                      type: string
                  fallback:
                    type: string
                required:
                - sourceColumn
                - targetField
                - map
            unmappedSourceColumns:
              type: array
              items:
                type: string
            missingRequiredTargets:
              type: array
              items:
                type: string
            warnings:
              type: array
              items:
                type: string
          required:
          - fieldMappings
          - defaults
          - valueTransforms
          - unmappedSourceColumns
          - missingRequiredTargets
          - warnings
          description: Typed, operator-reviewable mapping state. Fingerprints, cache identity, AI provenance, and extraction machinery are private.
      required:
      - id
      - object
      - filename
      - sourceFormat
      - status
      - discoveryStatus
      - totalRows
      - processedRows
      - createdCount
      - updatedCount
      - skippedCount
      - errorCount
      - startedAt
      - completedAt
      - createdAt
      - errors
      - proposedMapping
    OperationProgress:
      type:
      - object
      - 'null'
      properties:
        percent:
          type: number
          description: Progress as a percentage between 0 and 100, when the operation reports a percentage.
        message:
          type: string
          description: Human-readable progress message, when available.
        processed:
          type: number
          description: Number of items processed so far, when applicable.
        total:
          type: number
          description: Total number of items to process, when known.
      description: Snapshot of the operation's progress, or `null` if the operation does not report progress.
    PlanUpgradeHint:
      type: object
      properties:
        capability:
          type: string
          enum:
          - activeJobsLimit
          - teamSeatLimit
          - canBePublic
          - canRemoveBranding
          - apiAccess
          description: The plan capability that blocked the request, named as in `GET /v1/billing/subscription` `capabilities`.
        requiredPlan:
          type: string
          enum:
          - starter
          - basic
          - grow
          - advanced
          - scale
          description: The cheapest self-serve plan that unlocks the action. Pass it as `planKey`. Omitted when it cannot be told without more information; read `GET /v1/billing/subscription` and pick a higher plan.
        checkout:
          type: object
          properties:
            method:
              type: string
              enum:
              - POST
            path:
              type: string
              enum:
              - /v1/billing/checkout
          required:
          - method
          - path
          description: Starts a hosted checkout when the board has no active subscription (for example during a trial).
        changePlan:
          type: object
          properties:
            method:
              type: string
              enum:
              - POST
            path:
              type: string
              enum:
              - /v1/billing/upgrade
          required:
          - method
          - path
          description: Starts a hosted plan change when the board already has an active subscription.
      required:
      - capability
      - checkout
      - changePlan
      description: 'Present only on Operator API errors caused by the board''s Cavuno plan. Read `GET /v1/billing/subscription` to choose between `checkout` and `changePlan`, call it with `{ "planKey": requiredPlan }`, and give the returned `url` to a person to confirm. Each `path` is relative to the API origin, not to a `/v1` base URL. Both endpoints need `billing.manage`. Board API errors never include it.'
    OperationResource:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the object.
        object:
          type: string
          enum:
          - operation
          description: String representing the object's type. Objects of the same type share the same value.
        kind:
          type: string
          enum:
          - domains.verify
          - imports.parse
          - imports.confirm
          - subscribers.export
          - subscribers.import
          - custom_objects.records_import
          - exports.generate
          - candidates.remove
          - employers.remove
          description: Operation kind, identifying which workflow the operation runs.
        state:
          type: string
          enum:
          - pending
          - running
          - succeeded
          - failed
          - cancelled
          description: Current state of the operation.
        progress:
          $ref: '#/components/schemas/OperationProgress'
        result:
          type:
          - object
          - 'null'
          properties:
            totalRows:
              type: number
            created:
              type: number
            updated:
              type: number
            failed:
              type: number
            errors:
              type: array
              items:
                type: object
                properties:
                  rowIndex:
                    type: number
                  code:
                    type: string
                  message:
                    type: string
                required:
                - rowIndex
                - code
                - message
          required:
          - totalRows
          - created
          - updated
          - failed
          - errors
          description: A safe workflow result summary when the operation kind publishes one.
        error:
          $ref: '#/components/schemas/OperationErrorEnvelope'
        createdAt:
          type: string
          description: Time at which the operation was created. ISO 8601 datetime.
        updatedAt:
          type: string
          description: Time at which the operation was last updated. ISO 8601 datetime.
        completedAt:
          type:
          - string
          - 'null'
          description: Time at which the operation reached a terminal state, or `null` if it has not yet completed. ISO 8601 datetime.
        cancelRequested:
          type: boolean
          description: Whether cancellation of the operation has been requested.
        resource:
          type:
          - object
          - 'null'
          properties:
            object:
              type: string
              enum:
              - company
              - domain
              - import
              - employer
              - candidate
              - custom_object_type
            id:
              type: string
          required:
          - object
          - id
          description: Stable product resource affected by the operation, or `null` when no public resource applies.
      required:
      - id
      - object
      - kind
      - state
      - progress
      - error
      - createdAt
      - updatedAt
      - completedAt
      - cancelRequested
      - resource
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code, such as `validation_bad_request` or `jobs_not_found`.
            message:
              type: string
              description: Human-readable explanation.
            requestId:
              type: string
              description: Unique id for this request. Include it when contacting support.
            details:
              description: Structured context for some errors, such as per-field validation issues.
            upgrade:
              $ref: '#/components/schemas/PlanUpgradeHint'
          required:
          - code
          - message
          - requestId
      required:
      - error
      description: The error envelope returned by every non-2xx response.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: cavuno_live_<keyId>_<secret>
      description: Use your secret API key to authenticate. Pass it as a Bearer token in the `Authorization` header. You can view and manage your API keys in the Cavuno dashboard.
externalDocs:
  description: Cavuno API reference
  url: https://cavuno.com/docs/api