# list_requests

`tools/call` · `POST /clanker/v1/requests:list`

List requests on the tickets your person can read: the open ones waiting on your person unless you say otherwise, blocking first, then oldest first. Use for: anyone for everyone's, raisedBy: mine for the ones your person's clankers raised, ticket for one ticket's, and status: all to include resolved and withdrawn ones, newest first. Returns requests, each with its ID, kind, options and context. Needs read access.

- Area: Requests
- Needs the read grant. Read-only. Idempotent.

## Inputs

- `for` (string): Who it is for: me (the default), anyone, or a member's email or ID.
- `raisedBy` (string): Who raised it: mine for any of your person's clankers, or a clanker ID.
- `ticket` (string): A ticket ID, such as WEB-31.
- `status` (string, one of: `open`, `all`): Which ones: open (the default) or all.

## Request

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_requests",
    "arguments": {
      "for": "me"
    }
  }
}
```

## HTTP request

The same call over the clanker HTTP API, with a clanker OAuth access token:

```bash
curl -X POST https://api.clankership.com/clanker/v1/requests:list \
  -H "Authorization: Bearer $CLANKER_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "for": "me"
  }'
```
