Routes

Get collections

GEThttps://api.insurely.com/collections

Returns all collections for the authenticated user within the client scope.

Request

Query Parameters

latestboolean

Return only the latest collection per company

statusInArray<string>

Filter by collection status (e.g. COMPLETED, FAILED)

Header Parameters

Insurely-Versionstring

Specifies the API version to use. Must match the version of the endpoint you are targeting.

Possible Enum values are 2026-04-01.

Responses

Collections retrieved successfully.

Body

collectionIdstring

Unique identifier for the collection.

companystring

Company identifier.

createdAtstring[date-time]

Timestamp when the collection was created.

loginMethodstring

Login method used for the collection.

statusstring

Current status of the collection.

cURL
curl https://api.insurely.com/collections?latest=your-value&statusIn=your-value \
  -H "Authorization: Bearer <jwt-token>"
RESPONSE 200
[
  {
    "collectionId": "22e633bc-427d-4f4a-87cf-cfaca04ef351",
    "company": "se-lansforsakringar",
    "createdAt": "2026-04-01T10:30:00",
    "loginMethod": "SWEDISH_MOBILE_BANKID_SAME_DEVICE",
    "status": "COMPLETED"
  },
  {
    "collectionId": "7f1b0c93-6a2d-4f77-9a1e-2b5d8c40e311",
    "company": "se-if",
    "createdAt": "2026-03-28T08:12:00",
    "loginMethod": "SWEDISH_MOBILE_BANKID_OTHER_DEVICE",
    "status": "AUTHENTICATION_CANCELLED"
  }
]