InsionInsion
PHP

List records

Retrieve records for the authenticated organization

$page = $client->listRecords(new GetApiV1RecordsRequest(['limit' => 20, 'entity' => 'post']));

listRecords(GetApiV1RecordsRequest $request = new GetApiV1RecordsRequest(), ?array $options = null): ?ListRecordsResponse supports limit, startingAfter, endingBefore, clientId, user, entity, and status.

The cursor fields are mutually exclusive. Read data and hasMore; pass the final Insion record ID as startingAfter for the next page.

FilterUse
limitMaximum items returned.
startingAfter / endingBeforeMutually exclusive Insion-ID cursors.
clientId, user, entityRestrict records by application ID, Insion user, or kind.
statusRestrict by moderation status.

Only read the page after confirming it is not null. Stop paging when hasMore is false. Per-call options can set timeout/retries without changing the client defaults.