Skip to main content
POST
/
api
/
v1
/
pledges
Create pledge
curl --request POST \
  --url https://api.grainledger.com/api/v1/pledges \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Organization-Id: <x-organization-id>' \
  --data '{}'

Documentation Index

Fetch the complete documentation index at: https://docs.grainledger.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Organization-Id
string<uuid>
required

Organization ID for multi-tenant data access

Body

application/json

The body is of type object.

Response

201

Created pledge