Requests

Accept or decline request

post/requests/{requestId}/actions

Request

  • Base URL: https://api.darwin.so/api/v1
  • URL: https://api.darwin.so/api/v1/requests/{requestId}/actions
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

requestIdstring required

Headers

Idempotency-Keystring required

A caller-generated key, unique to this operation and payload.

Request body

aiIdstring

Optional explicit AI scope. When omitted, Darwin uses the caller’s selected AI.

action'ACCEPT' | 'DECLINE' required
existingGoalIdstring
createGoalboolean

Response

The updated request.

Changes

No recorded changes to this operation across all 1 revision of this API.