Browse topics Your first feedback request
Connect your app
Your first feedback request
Create a project key and submit a request from your backend.
- Create your administrator account using the installation steps above. All API calls below go to that server.
- In Overview on your server, create a project for your app. Add a board in its project settings.
- Create a project API credential with read and participate. Save the secret on your backend when it is shown.
- Find the board's ID, then submit for a user your app has already authenticated.
In the examples, SUPAKNOCK_URL is your server origin and SUPAKNOCK_API_KEY is the backend-only project secret. Replace your-project with the project's identifier.
curl "$SUPAKNOCK_URL/api/v1/projects/your-project/boards" \
-H "Authorization: Bearer $SUPAKNOCK_API_KEY"
Find the intended board in items and keep its returned id as BOARD_ID. If has_more is true, fetch the next page before deciding a board is missing.
Boards can be public or private. Choose Visibility in project board settings, or send visibility: "private" when creating or editing a board. Private boards still accept backend and enabled chat submissions. Your backend’s scoped read permission can read them; enforce your own users’ access rules before displaying their contents.
curl -X POST "$SUPAKNOCK_URL/api/v1/boards/$BOARD_ID/requests" \
-H "Authorization: Bearer $SUPAKNOCK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Offline reading",
"description": "Open saved articles without a connection.",
"external_user_id": "your-verified-user-id"
}'
201 returns the new request and its version. It stays private until accepted. SupaKnock creates the project-scoped participant mapping automatically; no separate user-provisioning call is needed.
Derive the external ID from your authenticated backend session. Do not trust an arbitrary browser-supplied ID. Feedback submission has no idempotency key: after a timeout, check that user's recent submissions before resending.
These docs describe the current source. Check your server’s /api/v1/openapi.json for the version you run.