Yungle Downloads API

Getting bytes out: signed, resumable URLs for your own transfers and collections, and for links shared with you.

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 3

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/yungle-co:yungle-co-downloads-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

yungle-co-downloads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yungle Downloads API
  version: 1.0.0
  description: 'Send transfers, build collections and sync contacts from your own systems. Every account can use it: transfers and contacts on the free plan, collections on a paid one.


    Lists that can grow without bound (transfers, collection files) take `limit` and `cursor` and return `nextCursor`; pass it back unchanged for the next page, and stop when it is null.


    Any POST accepts an `Idempotency-Key` header (1–255 printable characters; a UUID). A retry with the same key and body within 24 hours replays the original success with `Idempotent-Replayed: true` and creates nothing.


    File bytes never travel through this API: endpoints that accept files return a tus endpoint and a per-file upload token, and you stream to that. See https://docs.yungle.co/guides/upload-large-files.


    The vault and end-to-end encrypted transfers are not reachable here, and cannot be: their keys are derived in the client and never sent to us.


    **Errors** are JSON with a stable `error.code` (the `Error` schema); `error.docs` links to the explanation. See https://docs.yungle.co/errors.


    **Rate limits** are reported on every metered response in the IETF draft `RateLimit` and `RateLimit-Policy` headers, per key per minute and per workspace per day. A 429 carries `Retry-After` in seconds. See https://docs.yungle.co/limits.


    **Versioning.** The version is in the path. `/api/v1` changes additively only: new endpoints, optional fields and response fields may appear; nothing existing is removed, renamed or made required. A breaking change ships as `/api/v2`. An operation that is going away is marked `deprecated: true` here, answers with a `Deprecation` header (RFC 9745) and a `Sunset` header (RFC 8594) giving its last day, and is announced in the changelog at least six months before that day: https://docs.yungle.co/changelog. No v1 operation is deprecated.'
  contact:
    name: Yungle
    url: https://docs.yungle.co
  license:
    name: MIT
    identifier: MIT
  termsOfService: https://yungle.co/legal/terms
servers:
- url: https://yungle.co/api/v1
security:
- apiKey: []
tags:
- name: Downloads
  description: 'Getting bytes out: signed, resumable URLs for your own transfers and collections, and for links shared with you.'
paths:
  /transfers/{id}/download-links:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
      description: Transfer id. Never the share slug, which is a capability.
    get:
      tags:
      - Downloads
      summary: Download your own transfer
      description: 'Signed URLs for each file and a ZIP, valid for 24 hours, that need no key — hand them to curl, a queue worker or an agent. Fetching bytes this way is not a recipient download: it never appears in receipts. End-to-end encrypted transfers answer `e2ee_unsupported`.'
      responses:
        '200':
          description: Signed download URLs.
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadLinks'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '410':
          $ref: '#/components/responses/Gone'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
      operationId: getTransferDownloadLinks
      x-mint:
        metadata:
          description: Get short-lived direct download URLs for every file in your own transfer, for scripts and agents.
  /links/resolve:
    post:
      tags:
      - Downloads
      summary: Download a link someone shared with you
      description: 'Pass a transfer (`/t/…`) or collection (`/c/…`) link and get what a person opening it in a browser could download, as signed URLs. The same rules as the page apply: passwords go through the same attempt budgets, one call counts as one download of the transfer, a download limit is enforced, and a collection shared with invited guests only is refused. Any key may call it, including a free one.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  minLength: 1
                  maxLength: 2048
                  description: 'A Yungle share link: `https://yungle.co/t/…` (a transfer) or `https://yungle.co/c/…` (a collection).'
                password:
                  type: string
                  maxLength: 1024
                  description: For a password-protected link.
              required:
              - url
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      responses:
        '200':
          description: Signed download URLs.
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadLinks'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '410':
          $ref: '#/components/responses/Gone'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
      operationId: resolveLink
      x-mint:
        metadata:
          description: Turn a Yungle link someone shared with you into direct download URLs for its files, from a script or agent.
  /collections/{id}/download-links:
    parameters:
    - name: id
      in: path
      required: true
      schema:
        type: string
      description: Collection id. Never a slug — see the Concepts page.
    get:
      tags:
      - Downloads
      summary: Download your own collection
      description: Signed URLs for every file (with its folder path) and a whole-collection ZIP, valid for 24 hours, that need no key. Up to 10,000 files.
      responses:
        '200':
          description: Signed download URLs.
          headers:
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadLinks'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '410':
          $ref: '#/components/responses/Gone'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
      operationId: getCollectionDownloadLinks
      x-mint:
        metadata:
          description: Get short-lived direct download URLs for the files in a collection you own or were invited to.
components:
  responses:
    NotFound:
      description: 'No such resource in this workspace. Codes: `not_found`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: 'The request was malformed or failed validation. Codes: `invalid_request`, `folder_error`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PaymentRequired:
      description: 'Needs a paid plan, or prepaid credit for metered usage. Codes: `upgrade_required`, `out_of_credit`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: 'Our fault. `details.requestId` ties it to our logs. Codes: `internal_error`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Gone:
      description: 'The transfer has been sent, revoked or expired; or a shared link is no longer available. Codes: `not_editable`, `link_unavailable`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: 'Rate limit or email budget exhausted. Wait for `Retry-After`. Codes: `rate_limited`, `email_budget_exhausted`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: 'The credential lacks a required scope, or a shared link refused access. Codes: `insufficient_scope`, `password_required`, `wrong_password`, `guests_only`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: 'Missing or invalid credential. Codes: `unauthorized`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      description: 'Already exists, an Idempotency-Key conflict, or end-to-end encrypted content the server cannot serve. Codes: `conflict`, `e2ee_unsupported`.'
      headers:
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    DownloadLinks:
      type: object
      properties:
        kind:
          type: string
          description: 'Currently one of: `transfer`, `collection`. Treat unknown values as unknown, not as an error.'
        title:
          type:
          - string
          - 'null'
          description: 'A collection''s title, or your own transfer''s title when you ask for its links. Null when resolving a transfer link someone shared with you: a transfer''s title is never shown to recipients.'
        message:
          type:
          - string
          - 'null'
          description: The sender's note on a transfer.
        expiresAt:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          description: When the transfer or collection itself expires. Null for one that keeps things forever.
        e2ee:
          type: boolean
          description: 'End-to-end encrypted: the bytes are ciphertext, and the key is in the `#` part of the link.'
        e2eeMeta:
          type:
          - string
          - 'null'
        complete:
          type: boolean
          description: False while a transfer is still uploading. `files` lists what has arrived so far; ask again later.
        zipUrl:
          anyOf:
          - type: string
            format: uri
          - type: 'null'
          description: Everything in one ZIP (resumable with `Range`). Null for a single file, or while incomplete.
        urlsExpireAt:
          type: string
          format: date-time
          description: When the signed URLs stop working. Ask again for fresh ones.
        files:
          type: array
          items:
            $ref: '#/components/schemas/DownloadLink'
      required:
      - kind
      - title
      - message
      - expiresAt
      - e2ee
      - complete
      - zipUrl
      - urlsExpireAt
      - files
      description: Signed download URLs for a transfer or collection.
    DownloadLink:
      $ref: '#/components/schemas/DownloadLinks/properties/files/items'
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - unauthorized
              - insufficient_scope
              - upgrade_required
              - out_of_credit
              - not_found
              - invalid_request
              - folder_error
              - conflict
              - not_editable
              - quota_exceeded
              - transfer_too_large
              - rate_limited
              - email_budget_exhausted
              - password_required
              - wrong_password
              - guests_only
              - link_unavailable
              - e2ee_unsupported
              - internal_error
              description: 'Stable and machine-readable: branch on this. New codes may be added within an existing status.'
            message:
              type: string
              description: For a human reading a log. May change; do not parse it.
            details:
              type: object
              additionalProperties: true
              description: Present only when there is something actionable, and shaped per code.
            docs:
              type: string
              format: uri
              description: The page that explains this code and what to do about it.
  headers:
    RateLimit:
      description: What is left in each bucket this request was charged against, e.g. `"key";r=87;t=34, "workspace";r=19880;t=40211` (`r` remaining, `t` seconds until reset). draft-ietf-httpapi-ratelimit-headers.
      schema:
        type: string
    RateLimit-Policy:
      description: The buckets themselves, e.g. `"key";q=120;w=60, "workspace";q=20000;w=86400` (`q` quota, `w` window in seconds).
      schema:
        type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'An API key from Settings → API keys, sent as `Authorization: Bearer yk_live_…`. Scopes: transfers:read, transfers:write, collections:read, collections:write, contacts:read, contacts:write, webhooks:read, webhooks:write. A write scope implies read of the same resource.'