Skip to content
Basenet
🇳🇱 Nederlands
Esc
↑↓navigate↵open⌘Jpreview

Accept an exact proposal version (interactive human sessions only)

API bearer tokens cannot accept proposals; acceptance happens in the Basenet UI.

POST/api/v1/proposals/{id}/accept
Authorization
AuthorizationBearer token · headerrequired

Scoped API token (bnx_…). Required scopes are noted per operation.

Path parameters
idstringrequired
min length 1
Request body
application/json
versionintegerrequired
idempotencyKeystringrequired
min length 1 · max length 200
confirmDuplicatesboolean
Responses
200

Proposal accepted by an interactive human session

okbooleanrequired
Allowed:true
acceptanceIdstringrequired
400

Invalid request

errorstringrequired
codestringrequired
rulestring
401

Unauthenticated

errorstringrequired
codestringrequired
rulestring
403

Forbidden (missing scope or permission)

errorstringrequired
codestringrequired
rulestring
404

Not found

errorstringrequired
codestringrequired
rulestring
409

Proposal cannot be accepted or its version is stale

Any of:
object
errorstringrequired
codestringrequired
rulestring
object
errorobjectrequired
Show properties
codestringrequired
Allowed:stale_version
messagestringrequired
currentVersionintegerrequired
410

Proposal expired

errorstringrequired
codestringrequired
rulestring
429

Rate limited

errorstringrequired
codestringrequired
rulestring
Request
curl -X POST '/api/v1/proposals/string/accept' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "version": 1,
  "idempotencyKey": "string",
  "confirmDuplicates": true
}'
Response
{
  "ok": true,
  "acceptanceId": "string"
}