Skip to main content
GET
Get Face Avatar

Headers

If-None-Match
string | null
authorization
string | null

Path Parameters

face_id
string
required

Query Parameters

v
integer | null

A specific version. Omit for the current one. Only applies to the generated avatar.

Required range: x >= 1
format
string
default:png
Pattern: ^(png|svg)$
size
string
default:sm

Dot grid: sm=32, md=64, lg=128 across. Coarser sizes are exact box averages of the stored grid, so they are what capture would have produced at that size.

Pattern: ^(sm|md|lg)$
width
integer | null

Render width in pixels. Defaults to 9 per dot, which is what the halftone needs to reach its darkest tone.

Required range: 32 <= x <= 2048
owner
string | null

The account that owns the face, when it is not you. The same thing as the <owner>:<alias> handle in the path: /v1/faces/head:socrates and /v1/faces/socrates?owner=head are one request. Sending both and disagreeing is a 422. Without either, a bare alias means YOUR face of that name if you have one, and an alias is unique per owner, so me and any popular name collide across accounts.

prefer
string
default:organic

uploaded serves the owner's uploaded picture when there is one and falls back to the generated avatar when there is not. organic (default) always serves the generated one. The response says which you got, in X-Avatar-Source: organic, uploaded, or default when the face has no picture at all and the placeholder was served.

Pattern: ^(organic|uploaded)$

Response

Successful Response