GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • API & MCP status
  • Blog Notes on agents, apps and access.
  • API docs MCP setup, Custom API, errors.
  • Help center Answers to common questions.
  • Changelog What changed and when.
  • Contact Talk to the team.
  • Pricing
  • Sign in
  • Sign up
  • Cloud Browser
  • Custom API
  • Automations
  • For developers
  • For automation agencies

This view

  • Original page
  • New address

GeezerVison is showing cotlet.dev — Custom API: turn browser work into your own endpoint

Custom API: turn what your AI did in your browser into your own HTTP endpoint

Custom API is a Cotlet feature in beta since November 2026. Your AI does a job once in your Cloud Browser, signed in to your own account, and saves it as an endpoint your code calls with your API key.

Build an endpoint See the call contract
Cloud Browser
Booking Signed in
  • 09:30 AL Ana Lopez Haircut
  • 11:00 MT Mark Tan Color
  • 14:15 PS Priya Shah Trim
Saved as endpoint recent_bookings
Terminal

POST /api/v1/custom/recent_bookings

Authorization: Bearer $COTLET_API_KEY

200 OK

{ "run_id": "6f1c2b7e…",

"data": { "bookings": [

{ "client": "Ana Lopez", "time": "09:30" },

{ "client": "Mark Tan", "time": "11:00" }

] } }

How does Custom API work?

You build an endpoint from a job your AI already did once. Cotlet never ships ready endpoints: each one is yours, on your account.

  1. 01 Sign in to the app Open the app in your Cloud Browser and sign in yourself. Cotlet never saves your password.
  2. 02 Let your AI do the job once Ask your AI over MCP, or the builder in the console. While it works, it sees the requests the app itself sends.
  3. 03 Test it and save it The AI writes a short script and runs it with your sample input. You see the JSON answer and the time, then save it under a name.
  4. 04 Call it from your code POST JSON to the endpoint with your API key. Every save is a new version; the URL stays the same.

Over MCP, your AI builds the same endpoints with cotlet_browser_network, cotlet_api_guide, cotlet_api_test and cotlet_api_save.

What can you build?

Any job your AI can do in an app you sign in to. A few examples:

  • Recent bookings

    Return today's bookings as JSON for your n8n flow or your own dashboard.

  • Create a lead

    Add a lead or client in the app from your website form or a Make scenario.

  • Export a report

    Pull a report the app only shows on screen, as rows your code can read.

  • Check a status

    Look up one order, job or invoice by its number and return its status.

What does a call look like?

One POST with a JSON body. The answer is JSON in the shape of the endpoint's output schema.

Request

curl -X POST https://cotlet.dev/api/v1/custom/recent_bookings \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-11-20", "limit": 2}'

Response 200

{
  "run_id": "6f1c2b7e-90d4-4a51-8c3e-2b7d5f0a9e14",
  "data": {
    "bookings": [
      {
        "id": "bk_4821",
        "starts_at": "2026-11-20T09:30:00Z",
        "client": "Ana Lopez"
      }
    ]
  }
}

recent_bookings is an example name: you pick the name, the input and the output when you build. The body is checked against the endpoint's input schema before anything runs.

Call contract

Four routes, all with your API key. An answer within 30 seconds comes in the same request; a longer call answers 202 and you poll.

Custom API routes
RequestAnswer
POST /api/v1/custom/{name}, JSON body = input200 {run_id, data} within 30 seconds; after that 202 {run_id, status: "running", status_url} with a Location header
GET /api/v1/custom/runs/{run_id}{status, data?, error?}, status running, succeeded, failed or expired; input and answer are kept 24 hours
GET /api/v1/customYour endpoints: name, description, URL, input and output schema, status, whether it writes
GET /api/v1/custom/openapi.jsonYour endpoints as OpenAPI 3.1, for Postman, code generators and your agent

A call over 30 seconds

HTTP/1.1 202 Accepted
Location: https://cotlet.dev/api/v1/custom/runs/6f1c2b7e-90d4-4a51-8c3e-2b7d5f0a9e14
Retry-After: 5

{
  "run_id": "6f1c2b7e-90d4-4a51-8c3e-2b7d5f0a9e14",
  "status": "running",
  "status_url": "https://cotlet.dev/api/v1/custom/runs/6f1c2b7e-90d4-4a51-8c3e-2b7d5f0a9e14"
}

# then poll
curl https://cotlet.dev/api/v1/custom/runs/6f1c2b7e-90d4-4a51-8c3e-2b7d5f0a9e14 \
  -H "Authorization: Bearer $COTLET_API_KEY"

Send the key as Authorization: Bearer or X-API-Key. An endpoint answers only POST; other methods get 405 with Allow: POST. Names are 2 to 40 lowercase letters, digits or underscores. Errors carry a code, a message and the link that fixes them: the full list is in the REST API docs.

What happens when the app changes?

You hear about it first, and broken calls cost nothing.

  • An email on a failure

    The first failure of a day emails you, and so does a sign-out, with a link to sign in again.

  • Paused for free

    After 3 failures in a row, calls answer 503 for free until you save a new version.

Is it safe to run on my account?

An endpoint acts only as you, on the account you signed in to, and only the way you allowed.

  • Only your account

    It runs on the account you signed in to yourself, in your Cloud Browser.

  • Only that site

    It sends requests only to the site it was built on.

  • Writes wait for you

    A dry run shows each request it would send before you allow writes.

  • Read-only keys

    A read-only API key cannot call an endpoint that writes.

  • No payments

    Steps that pay, or change the password, email or sign-in settings, are refused.

  • Tokens stay inside

    The app's sign-in tokens never reach your code or the AI, and logs mask them.

Limits and price

A successful call is charged once. A failed call costs nothing.

a call that fails, so you pay only for answers
Free
at most per call, 30 s in the same request
90 s
calls per API key, 5 at once
60 a minute
Custom API limits and price
WhatLimit
PriceCredits per successful call, at the rate on Pricing. No browser minutes on top. A test run before saving is charged like a call when it succeeds.
TimeAt most 90 seconds a call. The same request waits up to 30 seconds, then answers 202.
Rate60 calls a minute and 5 at once per API key.
SizeInput and answer up to 1 MB each.
WritesA daily cap per endpoint: 20 by default, up to 200.
AINo AI steps inside an endpoint. Your own AI does the thinking before or after the call.
TrialOpen to every account. Free 7-day trial with 500 credits, no card needed.

What Custom API is not

  • Not a set of ready endpoints per app. Each endpoint is one you build, on your own account.
  • No events or webhooks. For "tell me when a new booking comes in", build an automation: it checks on a schedule and can send a signed webhook.
  • No automatic repair. When the app changes, you rebuild the endpoint in the builder.
  • Not for every site. Banks, LinkedIn, Instagram and apps that asked us to stop are blocked.

Custom API questions

Do I need to write code to build an endpoint?

No. Your AI writes the script in the builder or over MCP, then you test it and save it. You write code only to call the endpoint.

Which apps can I build endpoints for?

Web apps you can sign in to in your Cloud Browser, except blocked sites. Whether one job works depends on the app: the test before saving shows the real answer.

What happens when the app changes?

The endpoint can start failing. You rebuild it in the builder and save a new version; the URL stays the same. After 3 failures in a row calls answer 503 for free until you do.

How long does a call take?

An answer within 30 seconds comes in the same request. A longer call answers 202 with a status_url to poll, and every call stops at 90 seconds.

Can I call an endpoint from n8n, Make or Zapier?

Yes, from any HTTP step: POST JSON to https://cotlet.dev/api/v1/custom/{name} with the Authorization header. On a 202, poll the status_url.

Can I get an event when something new appears?

Not from an endpoint. Build an automation in the console instead: it checks the app on a schedule and can send a signed webhook.

Build your first endpoint

Free 7-day trial with 500 credits. Sign in to your app in your Cloud Browser and let your AI do the job once.

Sign up free
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.