---
title: "Create an organization, library, and API key with no account."
method: POST
path: "/libraries"
tags: ["No account"]
---

# Create an organization, library, and API key with no account.

`POST /libraries`

## Request

- Base URL: `https://api.raster.app`
- URL: `https://api.raster.app/libraries`
- Auth: none required

Anonymous — mints the key, so send no Authorization header. Give it an email address and it returns a ready-to-use organization, library, API key, and a claim URL to hand the user so they can attach the library to a real account later. Use this when an agent needs somewhere to put images before the user has signed up. https://raster.app/docs/guides/start-without-an-account

## Headers

- `Api-Version` string, required

## Request body

- object
  - `email` string, email, required
  - `name` string

## Response `200`

OK

- object
  - `data` object, required
    - `organizationId` string, required
    - `libraryId` string, required
    - `apiKey` string, required
    - `claimUrl` string, uri, required
    - `expiresAt` string, date-time, required
    - `emailSent` boolean, required

## Other responses

- `400`: Invalid input (BAD_USER_INPUT), quota, or API-version error.
- `500`: Unexpected server fault (INTERNAL_SERVER_ERROR). Safe to retry an idempotent operation.

---

[API](https://skmtc.dev/raster/apis/raster-rest-api.md) · [All operations](https://skmtc.dev/raster/apis/raster-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/raster/apis/raster-rest-api/revisions/5e1b9d912d01?raw)
