Operations
All endpoints require the X-Api-Key header for authentication, which should contain your PingOne Recognize authorization key. For help, contact Support.
POST /users/{userId}/operations
Create a pending operation
Create a pending operation for the specified user. The operation will wait for the user to approve using the PingOne Recognize app.
Path parameters
| Name | Type | Description |
|---|---|---|
|
|
Uppercase HEX string representing the user ID |
Request body — application/json
| Field | Type | Description |
|---|---|---|
|
|
Unique operation identifier, client-managed |
|
|
Customer-meaningful user ID |
|
|
Arbitrary payload, client-managed |
GET /users/{userId}/operations/pending
List pending operations for a user
Retrieve all pending operations awaiting approval for the specified user.
Path parameters
| Name | Type | Description |
|---|---|---|
|
|
Uppercase HEX string representing the user ID |
Responses
| Status | Description |
|---|---|
|
Array of |
|
Standard error responses |
|
Internal server error |
Example
Request
GET /v2/users/A1B2C3D4E5F6/operations/pending
X-Api-Key: your-api-key
Response 200
[
{
"operationId": "txn-20250521-001",
"operationPayload": "Approve wire transfer of $500 to account 1234",
"externalUserId": "custom-name@example.com",
"authType": "biom"
},
{
"operationId": "txn-20250521-002"
}
]
GET /operations/{operationId}
Get a specific operation
Retrieve details of a specific customer operation by its ID.
Path parameters
| Name | Type | Description |
|---|---|---|
|
|
Unique operation identifier, client-managed |
Responses
| Status | Description |
|---|---|
|
|
|
Standard error responses |
|
Internal server error |
Example
Request
GET /v2/operations/txn-20250521-001
X-Api-Key: your-api-key
Response 200
{
"id": 8819,
"timestamp": "2025-05-21T10:30:00.000",
"nodeId": "operations-service-node-1",
"userId": "A1B2C3D4E5F6",
"apiKey": "CustomerApiKey123",
"operationId": "txn-20250521-001",
"operationPayload": "Approve wire transfer of $500 to account 1234",
"externalUserId": "custom-name@example.com",
"state": "approved",
"result": true,
"authType": "biom"
}