Skip to main content
POST
Decide approval

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Path Parameters

ref
string<uuid>
required

Body

application/json
decision
enum<string>
required
Available options:
approved,
declined,
stale
note
string

Why (shown to the requester).

decided_by
string

Organization key only: the deciding user. Not for stale.

Response

The request after the decision — and after the execution when it was approved and the workflow was waiting

request
object
resumed
enum<string> | null
Available options:
success,
failed,
suspended,
not_suspended_yet