List draws
Lists the draws on projects your service account can access, newest first, cursor-paginated. project_id narrows the list to one project and state to draws currently in that state. An unknown or inaccessible filter value yields an empty list.
state_changed_since narrows to draws whose current state was recorded at or after that instant — each draw's state_changed_at. Together with state it answers "which draws were funded since my last run":
GET /draws?state=funded&state_changed_since=2026-09-30T02:00:00Z
It is the moment the change was recorded in Rabbet, not the date the change is dated: a draw marked funded today with a funding date last week counts as changed today, so a scheduled pull never misses a backdated one. A draw unlocked and funded again changes again, and is returned again, as is one whose unlock is undone.
Overlap each run with the last. Take the largest state_changed_at you received as your checkpoint, start the next run an hour before it, and skip any draw you already exported at the same state_changed_at. A change is stamped a moment before it becomes visible, and the list is ordered by when draws were created, not when they changed, so a run that starts exactly at its checkpoint can miss one.
Request
- Base URL: https://api.rabbet.com/v1
- URL: https://api.rabbet.com/v1/draws
- Auth: OAuth 2 (client credentials, token URL https://api.rabbet.com/oauth/token, scopes: read)
Query parameters
Only draws on this project.
State of a draw.
Only draws currently in this state.
Only draws whose current state was recorded at or after this instant (ISO 8601 with offset).
Page size, between 1 and 100.
Opaque cursor from the previous page's pagination.next_cursor.
Response
A page of draws (empty when none match).
Example response
{
"data": [
{
"id": "b308e77f-6d1d-47c4-bd1f-0069cc548315",
"name": "Draw 9",
"state_changed_at": "2026-09-30T14:03:11.204913Z",
"project_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"target_amount": {
"amount": "123.45",
"currency": "USD"
},
"submitted_date": "2026-03-30",
"expected_send_date": "2026-04-15",
"submitter_id": "c408e77f-6d1d-47c4-bd1f-0069cc548316",
"created_at": "2026-06-04T09:12:33.000001Z"
}
],
"pagination": {
"next_cursor": "g3QAAAACdwJpZG0AAAAkZDI5MGYxZWU"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.