InsionInsion
Records

List records

List the records belonging to the authenticated organization.

GET
/api/v1/records

Authorization

bearerAuth
AuthorizationBearer <token>

Provide an API key from the Insion dashboard in the Authorization header: Bearer YOUR_API_KEY.

In: header

Query Parameters

limit?integer

Maximum number of items to return.

Range1 <= value <= 100
Default10
starting_after?string

Return items after this Insion ID. Cannot be used with ending_before.

ending_before?string

Return items before this Insion ID. Cannot be used with starting_after.

clientId?string

Filter by your record identifier.

user?string

Filter by Insion user ID.

entity?string

Filter by record entity.

status?string

Filter by moderation status.

Value in

  • "Compliant"
  • "Flagged"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/records"
{  "data": [    {      "id": "string",      "clientId": "string",      "clientUrl": "http://example.com",      "name": "string",      "entity": "string",      "protected": true,      "metadata": {},      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "moderationStatus": "Compliant",      "moderationStatusCreatedAt": "2019-08-24T14:15:22Z",      "moderationPending": true,      "moderationPendingCreatedAt": "2019-08-24T14:15:22Z",      "user": "string"    }  ],  "has_more": true}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}