Documentation

Capture, mock & shape API traffic with Proxycept

Proxycept is a shared HTTP(S) proxy: point any client at it and you can inspect live requests, intercept and edit them on the fly, rewrite live responses, serve mocks, and inject faults, all without touching your code. This guide gets you sending traffic in minutes, with copy-paste samples for every stack.

Quick start

1

Create a profile

In the web console, create a workspace, then a profile inside it, and click Start. A profile is your personal proxy instance.

2

Grab your proxy address

Open the profile’s Connection tab. It shows the proxy host, port, and a fresh username / password (issued when the profile starts).

3

Send traffic through it

Point a client at the proxy (samples below) and make a request. Watch it appear live under Sessions.

your first proxied request
# Replace USERNAME:PASSWORD with the credentials from the profile's Connection tab
curl -x http://USERNAME:PASSWORD@proxycept.com:8443 https://api.github.com/zen

# → the response comes back as normal, and the request now appears
#   live in Sessions, with full request/response detail.

Credentials change when you stop and start a profile — that is how you revoke them — and stay the same across our maintenance and updates, so connected devices keep working. The proxy enforces them, so only you (and teammates you share with) can route traffic through your profile.

How many profiles can run at once depends on the plan: Free 1, Solo 1, Team 5 five, Team 10 ten, Enterprise no plan cap. Each running profile is its own proxy process. Starting one past the cap is refused with a message that says so; stop a running profile first. A plan can hold more profiles than it can run, so the rest keep their setup while stopped.

How it works

Every request you route through Proxycept passes through a pipeline before (optionally) reaching the real upstream. Each stage is independent and configurable per profile:

Your clientcurl · app · CIPROXYCEPT PROXYInterceptPolymorphMockevaluation order, left → rightUpstream APIthe real serverlive capture → web console (SSE)

Intercept

Pause matching requests/responses so you can inspect and edit them by hand.

Polymorphism

Programmatically rewrite payloads (e.g. randomize fields, shift schemas) to stress clients.

Mock server

Answer from OpenAPI/Postman-derived or hand-written routes instead of hitting upstream.

Anything not handled by a stage is forwarded to the real upstream. Every request — proxied, mocked, or intercepted — is captured and streamed to the console in real time.

Connect your client

Proxycept is a standard HTTP proxy, so anything that speaks the proxy protocol can use it. Set the proxy to proxycept.com:8443 with your profile credentials. Pick your stack:

Application logs

Categorized logs from your own mobile app, separate from network capture. Available on paid plans.

App Logs quickstart and SDK installation
curl
# Route any request through the proxy with -x
curl -x http://USERNAME:PASSWORD@proxycept.com:8443 https://api.example.com/users

# POST with a body works exactly as normal
curl -x http://USERNAME:PASSWORD@proxycept.com:8443 -X POST https://api.example.com/users \
  -H 'Content-Type: application/json' -d '{"name":"Ada"}'

# Testing only: skip TLS verification instead of installing the CA
curl -k -x http://USERNAME:PASSWORD@proxycept.com:8443 https://api.example.com/users

Native mobile sample apps. Runnable iOS (SwiftUI) and Android (Kotlin) samples that route HTTPS through Proxycept and prove interception live at github.com/MoathOthman/proxycept-samples. Note the emulator host quirk: iOS Simulator uses 127.0.0.1, the Android emulator uses 10.0.2.2.

Mobile apps (beta)

Capture from your phone with the Proxycept app

The iPhone and Android apps capture app traffic on the device itself, with no Wi-Fi proxy settings to change. Both are in beta and not in the app stores yet.

iPhone

Coming soon

The TestFlight beta link is coming soon.

Android

Coming soon

The Google Play beta link is coming soon.

HTTPS & the CA

To read or modify HTTPS traffic, Proxycept terminates TLS with its own certificate authority and re-signs each connection. Your client must trust that CA — otherwise you’ll see certificate errors. You have two options:

Install the CA (recommended)

Download it from Settings → Install CA and trust it on your machine/device. HTTPS then works transparently and securely. iOS/Android get guided installers.

iOS Simulator: one command

Download the .pem, boot a simulator, then run xcrun simctl keychain booted add-root-cert ~/Downloads/proxy-ca-cert.pem. On Xcode 11.4+ this installs into the Simulator’s trusted root store — trusted immediately, no profile prompt and no Certificate Trust Settings toggle. No local agent required (the agent in Settings → HTTPS / CA is just a UI for the same call). Cert-pinned apps still won’t trust it.

Skip verification (testing only)

For throwaway tests, disable cert checks in your client — curl -k, verify=False in requests, NODE_TLS_REJECT_UNAUTHORIZED=0. Never do this against production credentials.

Capture traffic

Everything routed through a started profile is recorded into the active session as flows: method, URL, status, timing, and request/response bodies (the first 64 KB of each is stored). The console streams them live and opens a session a page at a time. A body over 4 MB is streamed straight through rather than held in the proxy's memory; it is still recorded, with its first 64 KB or a note.

Inspect and decode

Open a flow for headers, payloads and timing. JWTs in headers, cookies, the query or a JSON body are found and decoded (header, claims, expiry), and any value decodes as base64, URL encoding or hex. Signatures are not verified, and the panel says so. It runs in your browser.

Search and filter

Search every request and response body in a session for a piece of text, such as an order id, together with the path, status and host filters.

Endpoint latency

Group a session by method, host and path, with ids folded to {id}, and read count, p50, p95 and max per endpoint, slowest first. A request with no measured time counts as unmeasured, never as 0 ms.

Check against your spec

Validate captured responses against an OpenAPI spec uploaded to the workspace: wrong types, missing required fields, unlisted statuses, enum mismatches, each with its JSON path, plus which operations no request reached.

Replay, edit & resend

Send a captured request again, unchanged or edited (method, path and query, headers, body), to the host, scheme and port it was captured with: HTTPS goes out as HTTPS. The drawer lists each attempt with a request and response diff against the original.

Export & share

Download a session as JSON or HAR, or create a read-only share link. A share link always redacts credentials (auth headers, cookies, tokens, secret fields), whatever your masking setting.

Fuzz one position, within bounds. From a flow's drawer, mark one spot in the request (a JSON field, a header, a query parameter or a path segment) and give up to 200 payloads: typed, a small built-in list, or a number range. They are sent one at a time, at least 250 ms apart, to the captured destination, and a table shows each payload's status, length and time, flagging the ones that differ from the original. One run per person at a time, five minutes at most, cancellable. It is console only (no API token or AI client can start a run), and it is for testing your own API: every payload is a real request, and it is not a scanner.

export a flow as a ready-to-run curl
# From a flow's detail view you can copy it as curl, or via the API:
curl https://proxycept.com/api/sessions/<session_id>/flows/<flow_id>/curl \
  -H "Authorization: Bearer $TOKEN"

MCP & AI agents

Point an AI agent at Proxycept and you see every tool call it makes. Calls that speak MCP (Model Context Protocol) are decoded out of the JSON-RPC body, so instead of a wall of identical POST /mcp rows you get tools/call → get_weather on the row, the tool and session behind it in the drawer, and a per-tool breakdown for the whole run.

Proxycept does two opposite MCP things, and this section is the first one. Here it observes MCP traffic passing through it: you route your AI client’s HTTP traffic through the proxy, exactly like any other client, and read what it sent. Proxycept also speaks MCP — it runs an MCP server of its own that an AI client connects to, which is a different thing you set up differently: see Connect Claude, Cursor or Codex. Debugging what your agent is doing? You are in the right place.

Read this next part before you rely on it — MCP has two response transports and only one of them decodes today:

Decoded: the call itself

Every MCP request sent as JSON — method, tool name, JSON-RPC request id, Mcp-Session-Id. That is the whole call log, and it does not depend on how the server answers.

Not decoded: SSE responses

MCP’s Streamable HTTP transport usually replies text/event-stream. Those responses are captured raw but not parsed — so a JSON-RPC error inside a stream is invisible and the call is counted as a success unless the HTTP status is ≥ 400. If your server streams, read the error rate as a floor. A server that answers application/json decodes fully, errors included.

Not visible: local stdio

An MCP server your host launches locally over stdio never crosses an HTTP proxy, so nothing can see it. Proxycept sees MCP over HTTP(S) — an agent talking to a remote MCP server.

There is no MCP-specific setup. Send the agent’s traffic through the proxy the way you would any HTTP client (see Connect your client), and install the CA so HTTPS can be read (see HTTPS & the CA). Nothing to enable, no mode to turn on — the decode happens when Proxycept recognizes the traffic.

run your agent through the proxy
# Replace USERNAME:PASSWORD with the credentials from the profile's Connection tab.
# Any process that honours the standard proxy env vars picks this up.
export HTTPS_PROXY="http://USERNAME:PASSWORD@proxycept.com:8443"
export HTTP_PROXY="$HTTPS_PROXY"

# Start your agent / MCP client in that shell and trigger a tool call.
# Its POSTs to the MCP server show up live in Sessions, badged:
#   MCP   tools/call → get_weather

In Sessions, an MCP flow carries an MCP badge (MCP • error when the call came back a JSON-RPC error) plus a one-line summary; open it for the decoded method, tool, Mcp-Session-Id, request id and error. Flip MCP only above the flow list to hide non-MCP noise and group what’s left by Mcp-Session-Id into collapsible per-conversation sections, so one agent run reads top to bottom. Both the toggle and the stats panel are hidden for a session with no MCP traffic.

Above the flow list, the MCP stats panel is the fast answer to which tool is slow or failing: total calls, distinct tools, overall error rate, and one row per tool (count, p50, p95, error %) for tools/call flows grouped by tool. Same numbers over the API:

which tool is slow or failing?
curl -s https://proxycept.com/api/sessions/<session_id>/mcp_stats \
  -H "Authorization: Bearer $TOKEN"

# {
#   "total_calls": 42, "distinct_tools": 3,
#   "error_count": 7, "error_rate": 0.1667,
#   "tools": [
#     {"tool":"search_docs","count":24,"p50_ms":38,"p95_ms":96,
#      "error_count":0,"error_rate":0.0},
#     {"tool":"fetch_url","count":12,"p50_ms":1840,"p95_ms":4102,
#      "error_count":7,"error_rate":0.5833},
#     {"tool":"write_file","count":3,"p50_ms":12,"p95_ms":15,
#      "error_count":0,"error_rate":0.0}
#   ]
# }

# The agent looks broken end-to-end, but only one tool is: fetch_url
# failed 7 of 12 calls and its p95 is 4.1 s. Flip on "MCP only", open a
# fetch_url flow, and the JSON-RPC error code + message say why.

A call counts as an error when the JSON-RPC error is present or the HTTP status is ≥ 400. Latency is measured from the moment the proxy reads your request to the moment the upstream response is complete — so it is what your agent actually waited for, body transfer included. p50 / p95 read — only when there was nothing to measure: the call was answered by a mock, held for intercept (that clock would be your own thinking time), or failed before any response. And a flow is badged only when the request is JSON, parses as JSON-RPC 2.0, and shows an MCP fingerprint (Mcp-Session-Id, or a method like tools/*) — so a plain JSON API is captured as always, just never mislabelled as MCP. Longer walkthrough: inspecting MCP / AI-agent traffic.

Connect Claude, Cursor or Codex

The section above is Proxycept watching MCP traffic. This one is Proxycept speaking it: an MCP server of ours that your AI client connects to, so you can ask “which of my agent’s tool calls are failing?” or “show me the last 500 from checkout-qa” and get an answer without opening a browser tab. It is a normal route on the API — no separate host, no install, no OAuth dance:

the MCP endpoint
https://proxycept.com/api/mcp

Switched on per deployment. The MCP endpoint is gated by ENABLE_MCP_SERVER and is off by default — with it off the route does not exist at all, which is what a self-hosted install gets until you set the variable and restart. It is a server-wide switch, not a per-account or per-plan one: it is either on for a deployment or off for it. If a client reports that there is no MCP endpoint at this URL on proxycept.com, it is not switched on there yet — email support@proxycept.com and we will tell you where it stands.

Two steps. First create a read-only personal API token in Settings → API tokens — the same screen has a copy-paste version of everything below, addressed to this server and naming the token you picked. The token value itself is shown once, on create, and never again, so every config here carries a placeholder you substitute. Then paste the config into your client and restart it.

For any client that can take a remote MCP server — Cursor (~/.cursor/mcp.json) and most others. A URL and a bearer header is the entire integration; there is nothing to install and nothing running on your machine.

your client’s MCP config
{
  "mcpServers": {
    "proxycept": {
      "url": "https://proxycept.com/api/mcp",
      "headers": { "Authorization": "Bearer prx_live_YOUR_TOKEN_HERE" }
    }
  }
}

Then say “List my Proxycept workspaces.” If workspace names come back, you are connected.

What it can do: fifteen read tools with a read-only token. Each one is the same API call the web console makes, with the same permissions your account has. (There are also tools that change things (mock routes, request headers, response rewrite rules, intercept patterns, held requests, starting and stopping profiles), but they need a read_write token, which is a decision covered below.)

Find your way around

list_workspaces, list_profiles, get_profile, list_sessions — turn the name you said out loud into the id everything else needs.

Read captured traffic

list_flows is metadata only — method, host, path, status, sizes, never bodies. get_flow returns one flow, with bodies only when explicitly asked and truncated to ~2 KB. get_flow_as_curl gives you a reproducible command.

Debug an AI agent

get_mcp_stats — per-tool call counts, p50/p95 latency, distinct tools and error counts for the MCP traffic captured in a session. This is the one that closes the loop with the section above.

See how a profile is set up

list_mock_routes, list_request_headers, list_response_rewrite_rules, list_intercept_patterns, list_held_flows / get_held_flow (requests an intercept pattern is holding right now), get_connection_info — host, port and CA install links for pointing a device at a profile. The proxy password is never returned over MCP; copy it from the console.

That is the read half. There are also tools that change things: create, update and delete a mock route (or make one from a captured flow), add and delete a header on outgoing requests (add_request_header, e.g. app-version: 2.0.0 on every request; never a credential or a routing header), create, replace and delete a response rewrite rule, turn a profile's mock server or its response rewrites on or off, start and stop a profile, add and remove an intercept pattern, release a held request or response (release_held_flow) and, on a profile where you switched on AI clients may edit requests on this profile, change one before it goes on (edit_and_release_held_request: method, path, headers, body, never the host; edit_and_release_held_response: status, headers, JSON fields, never a free-text body), replay a captured request, and edit one and send it again (resend_flow_edited: same host, scheme and port, on a profile with that switch on). Every one of them needs a read_write token you chose on purpose, each is previewable with a dry_run, the ones that destroy something or change live traffic take a two-step confirmation, and replay_flow and resend_flow_edited need a person to approve each send in the console (see below).

Response rewrites: keep the real response, change one thing. A mock route replaces the whole response and never contacts the server, so it cannot keep a live value your app needs next (a fresh token, a session id). An intercept keeps everything but needs a person to edit each response by hand. A response rewrite rule is the third option: the real server answers, and named parts are changed before your app receives them, every time. Rules live on a profile (console: Response rewrites tab) and do nothing until that profile's switch is on.

show the app a screen the server would not send it to
You:     On profile "checkout-qa", make the eligibility check say the user must
         accept the terms, with https://example.com as the terms link.

Claude:  (calls list_flows and get_flow to read the real response, then
          create_response_rewrite_rule)

         I will add a rule for POST api.example.com /v1/eligibility-checks:
           set data.termsAndConditionFlag to true (boolean)
           set data.termsAndConditionUrl to "https://example.com" (string)
         Every matching response from the real server will be changed until
         the rule is removed. Shall I go ahead?

You:     Yes.

Claude:  (calls create_response_rewrite_rule again with the confirmation,
          then set_response_rewrite_enabled)
         Done. The switch for this profile is now on.

An assistant can use three operations, each of which writes a fixed value: json_set (a field of a JSON body), header_set and header_remove, plus json_repair, which takes nothing and only makes a malformed JSON body parse (it removes a BOM, an anti-JSON-hijacking prefix such as )]}' when present, NULs between values and trailing commas, and closes a cut-off object or array; otherwise the body is left as it was). Find-and-replace exists in the console only: it can move a live value from a response to somewhere else, so it has to be saved by a signed-in person. No rule can change the headers that steer a client (Location, Set-Cookie, Content-Security-Policy, CORS). Three things to know. A value keeps its JSON type: the boolean true and the text "true" are different, and an app that checks for the boolean ignores the text. A path starts at the top of the body: in {"data": {"termsAndConditionFlag": false}} the field is data.termsAndConditionFlag; writing just termsAndConditionFlag adds a new top-level field and leaves the one your app reads unchanged. Paths are object keys joined by dots; inside a list, [*] is every entry and [0] the first, so data.accountInfo.accountList[*].availableBalance sets every account's balance. A list is never created or extended, and a path never overwrites what is in its way. The capture shows what your app received: a rewritten flow is marked as modified (response_modified in get_flow), so it cannot pass for what the server sent. Everything else in the response, including its other headers, goes through as the server sent it; the body is re-serialized, so its values are preserved but its whitespace is not. Rules that change where a request is sent are a different feature (Request rewrites) and are not available over MCP.

The demo, and what it actually answers. Route your agent through the proxy (the section above), then ask your assistant about the run:

ask the client, not the console
You:     Which of my agent's tool calls are slow or failing?

Claude:  (calls list_sessions, then get_mcp_stats)

         Session 214 made 42 MCP calls across 3 tools.
         fetch_url failed 7 of 12 calls (58%) and its p95 is 4.1 s.
         search_docs (24, p95 96 ms) and write_file (3) are clean.

         Want me to pull one of the failed fetch_url flows?

One limit, stated here and again inside the tool’s own result so the model cannot overclaim it: the error count is a floor, not a total, because an MCP error carried inside an text/event-stream response is not decoded and those calls usually arrive as HTTP 200. A zero here means “nothing we could see failed”, never “nothing failed”. Latency is measured per call, but a tool whose every call was mocked or intercept-held has no measurement to report and comes back empty — empty means unknown, never fast.

Use a read-only token — this is the control, not hygiene advice. A prompt-injection attack needs three things at once: access to private data, exposure to attacker-written content, and a way to act. Proxycept’s read tools hand a model the first two by design — their whole job is to return traffic captured from other people’s servers, and a response body can be written to read like an instruction. A read-only token removes the third: there is nothing in Proxycept for an injected instruction to call.

Said the short way: a read_write MCP token means anything your proxy captures can write to your Proxycept configuration. A response body from someone else’s server, written to look like an instruction, becomes a mock route or an intercept pattern in your account. Read-only is the security boundary, not a suggestion — it is the default on the token screen, and the only extra step for read-write is that you have to choose it on purpose.

If you do want read-write: make it a separate token, never turn on “always allow” for tool calls, and do not use it in the same session where you are reading captured traffic. One thing it still cannot do is replay a captured request — replay_flow re-sends a real request to a third party with the captured credentials, so it requires a person to approve it in the console: it appears in the notification center (the bell at the top right), which opens the request with Approve and Deny. Your AI client cannot approve its own replay, whatever token it holds.

What we cannot close for you, said plainly. If the same AI client also has other MCP servers connected that can send data out — fetch a URL, drive a browser, run a shell, write a file — then a malicious response body Proxycept hands over can try to use those. Nothing we do to our own tools prevents that, so: treat everything a Proxycept tool returns as data rather than instructions, keep write-capable servers out of sessions where you are reading captured traffic, and never blanket-approve a tool that can act.

The rest is inherited from the token, so it is the same story as any other automation: it authenticates as you with exactly your permissions, never carries admin powers, and is revocable from Settings → API tokens, stopping on its very next request.

Secrets are stripped from anything a tool returns, whatever your workspace’s masking setting says — storing raw traffic for a human to read is not the same decision as streaming it to a model vendor. One matcher runs over every channel rather than a list per channel: credential headers (Authorization, Cookie, Set-Cookie, X-API-Key, and anything else whose name reads like a secret — token, session, signature, the x-amz- family, …), URL query values and fragment values (OAuth’s implicit flow hides the token after the #), JSON body keys in either snake_case or camelCase (accessToken is redacted, not just access_token), and form-encoded body fields — which is where an OAuth client_secret lives. On top of the names, anything with a recognisable credential shape goes regardless of what it is called: a JWT, Bearer …, Basic …, an sk_live_…, ghp_… or AKIA… — including inside a path segment, where there is no name to match on at all.

Intercept & edit

Add an intercept pattern and matching requests are held mid-flight: you edit the request before it goes upstream, and/or the response before it returns to the client. Perfect for forcing error states, tweaking payloads, or testing client resilience.

1 · Requestmatches a pattern2 · HELDedit method/URL/headers/body3 · Forwardto upstream4 · HELDedit status/headers/body5 · Delivermodified responseYou control every step — pause, inspect, change, release
set an intercept pattern via the API (or do it in the UI)
curl -X POST https://proxycept.com/api/profiles/<profile_id>/intercept_patterns \
  -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"host": "api.example.com", "method": "GET"}'

# Now matching requests pause in Sessions. Edit & release them there,
# or (with a token, on a profile where AI request edits are switched on) change the status:
curl -X POST https://proxycept.com/api/held_flows/<flow_id>/release-edited-response \
  -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"status": 503}'

Two limits. A request or response with a body over 4 MB is streamed through as it arrives, so it is not held; the Intercept panel says so. And an AI client can read and release held flows, but it can only change one on a profile where a person switched on AI clients may edit requests on this profile (off by default, set in the console only). That is for checking your own API: edit a held request the way an attacker would and see whether the server refuses it. Every edit is shown to you as a full diff and is sent only when you confirm that exact edit; an assistant can never change the host, set a credential header or replace a response body with free text. Details in Connect Claude, Cursor or Codex.

Rewrite live traffic

Intercept is for one request at a time, by hand. Rewrites do the same kind of change on every matching request or response, with nobody at the console. They live on a profile. Response rewrites and request rewrites each have a profile switch and do nothing until it is on; request header rules and token carry rules apply on their own.

Response rewrites

The real server answers and a rule changes named parts on the way back: a JSON field (with its real type), a header, or a find-and-replace. Repair malformed JSON makes a body with trailing commas, a byte-order mark, an anti-hijacking prefix such as )]}' or a cut-off end parse, and leaves it untouched if it still would not. More in response rewrites.

Request rewrites

Change a request before the backend sees it: headers, query, JSON body fields, or where it goes. Add or remove a header on every request (for example app-version: 2.0.0) from the same tab.

Paths into lists

A JSON path can select list entries: [*] is every entry and [0] the first, so data.accountList[*].availableBalance sets every account's balance. Selectors chain (customers[*].accounts[*].balance). A list is never created or extended, and a path never overwrites what is in its way.

Carry a login token

Read a token from a login response (a JSON field such as id_token, or a header) and set it on later requests, e.g. Authorization: Bearer …. A new login replaces it. It goes only back to the same HTTPS host and port, never to another site, and is kept only in the running proxy's memory: captures show a placeholder, not the token.

Token carry rules are created by a signed-in person in the console (Request rewrites tab, Carry a login token); an API token or AI client can list them and switch one off, never create or change one. A browser request from another site never gets the token, and a cross-site request cannot plant one. The token is lost when the profile stops, so log in again after a restart.

Scenarios: switch a whole setup at once. On a profile's Scenarios tab, save a named set of its rules, response rewrites, request rewrites and mock routes, each with the state it should be in, and switch the set with one click: Apply puts every item in its state, Deactivate puts each in the opposite one. Everyone in the workspace sees the same scenarios. A scenario switches items, not the profile's feature switches, so turn those on once.

Mock server

Turn a profile into a mock backend. Import an OpenAPI spec or Postman collection to generate routes automatically, or define them by hand. Matching requests are answered by the mock instead of the real upstream — ideal for developing against an API that doesn’t exist yet.

a hand-written mock route
{
  "method": "GET",
  "path": "/v1/users/{id}",
  "status": 200,
  "headers": { "Content-Type": "application/json" },
  "body": "{ \"id\": 1, \"name\": \"Ada\", \"plan\": \"team\" }",
  "delay_ms": 150
}

Routes support path patterns, per-route delays, and error injection. Unmatched requests still fall through to the real upstream, so you can mock just the endpoints you need.

Fault injection

Fault injection adds latency and errors to test how clients behave under stress. Configure it on the Mock server — globally for the profile or per mock route — to slow a percentage of requests or return canned error statuses.

fault — 20% slow, 5% errors
{
  "delay_ms": 800,
  "delay_pct": 20,
  "error_status": 503,
  "error_pct": 5
}

API & automation

Everything in the console is a JSON API under /api. Authenticate once with a bearer token, then drive workspaces, profiles, sessions, intercepts, and mocks from scripts or CI.

For anything that outlives a browser tab — CI, cron, an AI assistant — create a personal API token in Settings → API tokens. It looks like prx_live_…, never expires unless you choose an expiry, and can be revoked at any time. The login token below is a one-hour session credential; scripts using it break after an hour.

use an API token (Settings → API tokens)
export TOKEN=prx_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

curl https://proxycept.com/api/workspaces -H "Authorization: Bearer $TOKEN"
or log in for a short-lived session token
# Expires after 1 hour — prefer an API token for automation.
TOKEN=$(curl -s -X POST https://proxycept.com/api/auth/login \
  -H 'Content-Type: application/json' \
  -d '{"email":"you@example.com","password":"••••••"}' | jq -r .access_token)

curl https://proxycept.com/api/workspaces -H "Authorization: Bearer $TOKEN"

GET /api/me is the health check for a credential: 200 means it authenticated, and the body tells you who it belongs to and — for an API token — its name, prefix, and whether it is read or read_write. Anything else means the credential is not usable.

check a credential
curl -s https://proxycept.com/api/me -H "Authorization: Bearer $TOKEN"

# {"id":42,"email":"you@example.com","is_proxy_admin":false,
#  "auth_method":"api_token","token_prefix":"prx_live_ab12cd",
#  "token_name":"CI runner","token_scope":"read_write"}

Gate a CI build on the traffic. After your tests run through a profile, GET /api/sessions/{id}/verdict?fail_on=5xx,contract,latency_p95_ms=800 answers pass, fail or inconclusive, as JSON or a JUnit report. Fail your CI build when your API breaks

Prefer a GUI? Download the ready-made Postman collection (foldered, with auto-token capture) or the OpenAPI spec and import it into Postman, Insomnia, or Bruno. Set {{baseUrl}} to https://proxycept.com.

Core concepts

Workspace

A team boundary. Owns profiles, sessions, and access control. Members get roles (viewer / editor / admin).

Profile

A runnable proxy instance with its own port, credentials, mocks, and intercepts. Start it to issue credentials and begin capturing.

Session

A timeline of captured traffic for a profile. Holds many flows; can be exported, shared, or imported (JSON/HAR).

Flow

A single captured request/response with full detail and timing — the unit you inspect, replay, and intercept.

Have a question or want a guided walkthrough? Email support@proxycept.com, or open the console to start capturing traffic.