Search the docs

Find a page, a section, or an endpoint.

Attachments

Every attachments endpoint, generated from the API's own schemas.

Get a download link for an attachment

get/api/v1/attachments/{id}

A signed URL rather than the bytes: streaming a 25 MB file through the API costs the transfer twice and gains the caller nothing. The link expires.

Parameters

  • idstringrequired

Responses

  • 200The link.
  • 401No API key, or one that is not valid.
  • 404No such resource, **or** one belonging to another account. The two are deliberately indistinguishable: a different answer would enumerate what exists.
  • 429Rate limited. `X-RateLimit-Reset` says when to retry.
bash
curl https://pidgeon.ai/api/v1/attachments/{id} \
  -H "Authorization: Bearer $PIDGEON_API_KEY"

Generated · public/openapi.json