Skip to main content
GET
/
apps
/
{client_id}
/
production-tests
curl -H "Authorization: Bearer sk_workspace_test_..." \
  "https://sandbox.api.hopae.com/connect/v1/apps/FK5b0KSM/production-tests"
[
  {
    "type": "challenge",
    "challenge": {
      "id": "ch_9a1b2c3d-4e5f-6789-abcd-ef0123456789",
      "title": "BankID SE Production Test",
      "description": "Testing BankID SE integration in production",
      "expiresAt": "2026-04-15T23:59:59.000Z",
      "createdAt": "2026-04-08T09:00:00.000Z",
      "completedAt": null,
      "isActive": true,
      "challengeMode": "stamp",
      "sponsor": null,
      "sources": null
    },
    "request": null
  },
  {
    "type": "request",
    "challenge": null,
    "request": {
      "id": "req_7f3a9c1e-4b2d-4f88-9e1a-0c3d5b6e7f8a",
      "clientId": "FK5b0KSM",
      "status": "pending",
      "payload": {
        "title": "MitID Production Test",
        "providerIds": ["mitid"],
        "maxStampClaims": 3,
        "targetPlatform": null
      },
      "challengeId": null,
      "createdAt": "2026-04-08T10:00:00.000Z"
    }
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.hopae.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns all production test challenges for the specified app.

Request

Authorization
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.

Path parameters

client_id
string
required
Client identifier of the app.

Response

Returns an array of production test items. Each item is either a scheduled challenge or a pending request — use the type field to discriminate between them.
type
string
Discriminator field. One of "challenge" (the request has been scheduled and a tpas challenge exists) or "request" (the challenge request is still pending scheduling).
challenge
object | null
Present when type === "challenge". The scheduled challenge object from tpas-backend.
request
object | null
Present when type === "request". The pending challenge request object.
Items with type === "request" are pending and do not yet have a report available. Wait for the item to transition to type === "challenge" before fetching its report. The challenge id (inside the challenge object) is the ID to use with the report endpoint — not the request id.
curl -H "Authorization: Bearer sk_workspace_test_..." \
  "https://sandbox.api.hopae.com/connect/v1/apps/FK5b0KSM/production-tests"
[
  {
    "type": "challenge",
    "challenge": {
      "id": "ch_9a1b2c3d-4e5f-6789-abcd-ef0123456789",
      "title": "BankID SE Production Test",
      "description": "Testing BankID SE integration in production",
      "expiresAt": "2026-04-15T23:59:59.000Z",
      "createdAt": "2026-04-08T09:00:00.000Z",
      "completedAt": null,
      "isActive": true,
      "challengeMode": "stamp",
      "sponsor": null,
      "sources": null
    },
    "request": null
  },
  {
    "type": "request",
    "challenge": null,
    "request": {
      "id": "req_7f3a9c1e-4b2d-4f88-9e1a-0c3d5b6e7f8a",
      "clientId": "FK5b0KSM",
      "status": "pending",
      "payload": {
        "title": "MitID Production Test",
        "providerIds": ["mitid"],
        "maxStampClaims": 3,
        "targetPlatform": null
      },
      "challengeId": null,
      "createdAt": "2026-04-08T10:00:00.000Z"
    }
  }
]