Curtain your site.

Integrate privacy-first sharing directly into your applications with our simple, powerful API and SDKs.

The Curtain Contract (JSON)

{
  "curtain_id": "sealed/a1b2c3d4e5f6",
  "original_url": "https://example.com/data",
  "expires_at": "2024-12-31T23:59:59Z",
  "access_token": "ct_9f2b7c",
  "opens": 0
}
The Curtain ghost at a terminal, sealing a URL with Curtain.seal() from the curtain-sdk
Agent Ghost peeking out from behind the curtain

New · Agent Ghost

Let an AI agent act on your app.

Drop in one line and your users get a Curtain AI agent — free and anonymous for you, paid per-use by them. Connect your tools over MCP and it can actually get things done.

Meet Agent Ghost →
API Reference Coming soon

Description:

Seals a URL for private sharing.

Body parameters:

url (string), expiresIn (string)

Response:

{"sealedLink": "...", "id": "..."}

Description:

Returns the status of a sealed link.

Body parameters:

id (string)

Response:

{"active": true, "opens": 12}

Description:

Permanently revokes a sealed link.

Body parameters:

id (string)

Response:

{"revoked": true, "id": "..."}