# Retrieve a motion

> One motion with each member's recorded vote. Billed as one records request.

`GET /v1/motions/{id}`

One motion with each member's recorded vote. Billed as one records request.

Authentication: `Authorization: Bearer <key>`, an `htd_test_` (sandbox) or `htd_live_` (live) key.

```bash
curl "https://data.heytownhall.com/v1/motions/123456" \
  -H "Authorization: Bearer $HTD_KEY"
```

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes |  |

## Answers

| Status | Meaning |
| --- | --- |
| `200` | The record. |
| `400` | invalid_request: a parameter is missing or not valid; `param` names it. |
| `401` | unauthorized: no key, or not a valid one. |
| `402` | billing_required (a live key without a payment method, or paused for an unpaid invoice) or spend_cap_reached. |
| `404` | not_found: no such record, or it is no longer published. |
| `429` | rate_limited: past the key's requests per minute. Retry-After says when to try again. |
| `503` | upstream_unavailable: the data could not be read. Not an empty answer; try again. |
