Images

Upload an image from a signed-in session

Store one image for the signed-in account. Authenticates with a dashboard session token (JWT), NOT an API key — this is what the web dashboard's uploader calls, so a person who has never been issued a key can still add images. The image lands in the account's default project.

Deliberately narrow: one file per request, no folder, visibility, TTL or URL import. Callers that need those should use POST /v1/images with an API key.

post/v1/uploads

Request

  • Base URL: https://api.pixelvault.dev
  • URL: https://api.pixelvault.dev/v1/uploads
  • Auth: HTTP bearer

Response

Image stored

Example response

{
  "data": {
    "id": "img_a1b2c3d4e5f6",
    "mime_type": "image/png",
    "size": 51234,
    "filename": "screenshot.png",
    "project_id": "proj_a1b2c3d4e5f6"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.