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"
}
}
]
Production Tests
Get Production Tests
Get all production test challenges for an app.
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"
}
}
]
Returns all production test challenges for the specified app.
Request
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.Path parameters
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 thetype field to discriminate between them.
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).object | null
Present when
type === "challenge". The scheduled challenge object from tpas-backend.Show challenge fields
Show challenge fields
string
Challenge ID (tpas-backend ID). Use this value as
{challenge_id} in the report endpoint.string
Challenge title.
string | null
Challenge description.
string
ISO 8601 timestamp when the challenge expires.
string
ISO 8601 timestamp when the challenge was created.
string | null
ISO 8601 timestamp when the challenge was completed.
null if still active.boolean
Whether the challenge is currently active.
string
The challenge mode (e.g.
"stamp").any | null
Optional sponsor information.
any[] | null
Optional source configuration.
object | null
Present when
type === "request". The pending challenge request object.Show request fields
Show request fields
string
Request ID. Identifies this challenge request record.
string
The app client ID this challenge request belongs to.
string
Current status of the challenge request (e.g.
pending, scheduled, failed).object
The challenge configuration payload forwarded to tpas-backend.
string | null
The tpas-backend challenge ID. Populated once the request has been successfully scheduled.
string
ISO 8601 timestamp when the challenge request was created.
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"
}
}
]

