API console

Your API application

Create one in the dashboard under Integrations, API applications.

Sign in to pick from your organisations' applications, or enter a client id and secret below.

Shown once, when the application was created or its secret rotated. Held in this page only.

Scopes to ask for

Tick none for every scope the application has.

Leave empty to send the request as your server would. A browser application only accepts requests from its allowed origins, so pick one of them.

No token yet.

PATCH /api/v1/applications/{id}/answers

Save answers

Quotes and applications Scopes: write Read the docs

Path

The application's id.

Headers

The application's share_token, from the answer that started it. A browser application sends it with every request about an application that already exists, a replay of the request that started it included. Without it, or with another application's, the answer is 404 not_found (409 idempotency_replay_unproven on a replay). A server-only application doesn't need it.

Ctrl + Enter sends too

Response

Send a request to see its response here.

Code

curl

The code reads your token from the SUBCONTEXT_TOKEN environment variable.