Skip to content

Fetch an attached image

GET
/ask/image/{id}
curl --request GET \
--url https://api.getchord.xyz/v1/ask/image/example

The stored JPEG. Public by unguessable id (an <img> sends no bearer), 30 days.

id
required
string

Image id.

image/jpeg.

Media typeimage/jpeg
string format: binary

Nothing at this identity (NOT_FOUND, UNKNOWN_TOKEN, NO_ROUTE).

Media typeapplication/json

Every non-2xx body.

object
error
required

Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.

string
message

For humans.

string
statusCode

HTTP status, when included.

integer
Example
{
"error": "INVALID_PARAMS",
"message": "amount must be an integer string in the token's smallest unit"
}