Skip to content

Claims

Protection claims filed against your orders.

Operations

List claims

Request

Paginate through your claims, most-recent first. Use cursor for keyset pagination and optionally filter by the claim's created_at with created_after and created_before.

Security
api_key
Query
created_afterstring, (date-time)

Only return claims whose created_at is at or after this time. Must be a valid ISO 8601 / RFC 3339 timestamp with a trailing Z or a numeric offset such as -08:00.

Example:created_after=2024-11-01T00:00:00Z
created_beforestring, (date-time)

Only return claims whose created_at is at or before this time. Must be a valid ISO 8601 / RFC 3339 timestamp with a trailing Z or a numeric offset such as -08:00.

Example:created_before=2024-11-30T23:59:59Z
cursorinteger, (int64)

Return claims that come after this cursor. Pass the next_cursor from the previous response to fetch the next page. Omit to start from the most recent claim.

Headers
Acceptstringrequired

Accept must be application/json

Example:application/json
curl -i -X GET \
  'https://app.useonward.com/api/v1/claims?created_after=2024-11-01T00%3A00%3A00Z&created_before=2024-11-30T23%3A59%3A59Z&cursor=0' \
  -H 'Accept: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

A page of claims

Bodyapplication/json
claimsArray of objects(ClaimSummary)
next_cursorinteger or null, (int64)

Cursor to pass as cursor on the next request to fetch the following page. null when there are no more claims to page through.

Example:8842
Response
{ "claims": [ { … } ], "next_cursor": 8842 }