Docs / API reference
Get a submission
GET /v1/submissions/{id}: one of your submissions, with its payload, status, flags, review note, and photos.
GET /v1/submissions/{id}Needs an API key: Authorization: Bearer <key>. See Authentication.
One submission, yours (admins see any).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes |
Example
curl "https://tablearchive.dev/v1/submissions/7b1f9e2c-0000-4000-8000-000000000000" \
-H "Authorization: Bearer $TA_KEY"const res = await fetch('https://tablearchive.dev/v1/submissions/7b1f9e2c-0000-4000-8000-000000000000', {
headers: { Authorization: `Bearer ${process.env.TA_KEY}` },
})
const data = await res.json()import os, requests
res = requests.get(
"https://tablearchive.dev/v1/submissions/7b1f9e2c-0000-4000-8000-000000000000",
headers={"Authorization": f"Bearer {os.environ['TA_KEY']}"},
)
data = res.json()Errors
| Status | When |
|---|---|
400 | A parameter or field is missing or invalid; details names each one |
401 | No API key, or one that is not valid |
404 | Nothing at that id or slug (a merged-away slug redirects to the survivor instead) |
429 | Rate limited; wait for Retry-After seconds |
Every error is JSON with an error message. See Rate limits and errors.