GET

/api/collections/{collection.name}/records/:id

{#if adminsOnly}

Requires Authorization: Admin TOKEN header

{/if}

Fetch a single {collection.name} record.

Client SDKs example
Path Parameters
Param Type Description
id String ID of the record to view.
Query parameters
Param Type Description
expand String Auto expand record relations. Ex.: Supports up to 6-levels depth nested relations expansion.
The expanded relations will be appended to the record under the @expand property (eg. {`"@expand": {"rel1": {...}, ...}`}). Only the relations that the user has permissions to view will be expanded.
Responses
{#each responses as response (response.code)} {/each}
{#each responses as response (response.code)}
{/each}