Authenticate with base API key
This endpoint allows you to create a new subwallet by providing a wallet name and an optional label.
The name of the subwallet to be created.
mySubwalletAn optional label for the subwallet.
My Subwallet LabelSubwallet created successfully
The ID of the created subwallet.
1A token for the created subwallet.
abcdef123456Subwallet creation failed due to missing wallet name.
Error message indicating the reason for failure.
Subwallet creation failed. Subwallet name is required.Unauthorized.
No content
Internal server error while creating subwallet.
Error creating subwalletPOST /api/subwallet/create HTTP/1.1
Host: proven-4-2-test.proven.indicio.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"wallet_name": "mySubwallet",
"label": "My Subwallet Label"
}{
"wallet_id": 1,
"token": "abcdef123456"
}This endpoint allows you to retrieve all subwallets created under this base admin.
Retrieved subwallets successfully
The ID of the retrieved subwallet.
1A token for the retrieved subwallet.
abcdef123456A label for the retrieved subwallet.
MySubwalletUnauthorized.
No content
Internal server error while retrieving subwallets.
There was a problem retrieving subwalletsGET /api/subwallets HTTP/1.1
Host: proven-4-2-test.proven.indicio.tech
x-api-key: YOUR_API_KEY
Accept: */*
[
{
"wallet_id": 1,
"token": "abcdef123456",
"label": "MySubwallet"
}
]This endpoint allows you to retrieve a subwallet by its wallet_id
The ID of the subwallet
A subwallet record
The ID of the retrieved subwallet.
1A token for the retrieved subwallet.
abcdef123456A label for the retrieved subwallet.
MySubwalletUnauthorized.
No content
Subwallet record not found
Subwallet record not foundInternal server error while retrieving a subwallet.
There was a problem retrieving subwalletGET /api/subwallets/{wallet_id} HTTP/1.1
Host: proven-4-2-test.proven.indicio.tech
x-api-key: YOUR_API_KEY
Accept: */*
{
"wallet_id": 1,
"token": "abcdef123456",
"label": "MySubwallet"
}Generates a new API key and stores its HMAC in the database. API key names must be unique per wallet.
The ID of the wallet for which the API key is being created.
A descriptive label for the API key.
The roles associated with the API key.
Optional ISO-8601 timestamp when the API key expires. Omit or set to null for no expiration.
API key successfully created.
The generated API key.
The ID of the stored HMACed API key.
The saved label for the API key.
Status message.
The selected expiration timestamp, if provided.
Bad request. Missing or invalid parameters.
Error message.
Unauthorized.
No content
Internal server error.
Error message.
POST /api/apikey/create HTTP/1.1
Host: proven-4-2-test.proven.indicio.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"wallet_id": "wallet123",
"name": "CI worker",
"roles": [
"admin"
],
"expires_at": "2026-01-01T00:00:00.000Z"
}{
"api_key": "abcdef123456",
"key_id": "key123",
"name": "CI worker",
"status": "API key successfully created.",
"expires_at": "2026-01-01T00:00:00.000Z"
}This endpoint revokes an API key by deleting it for the specified wallet and name.
The ID of the wallet associated with the API key.
wallet123The name of the API key to be revoked.
CI workerAPI key successfully revoked
Status message indicating the API key was successfully revoked.
Bad request. Missing or invalid parameters.
Error message indicating what went wrong.
Unauthorized.
No content
API key record not found
API key record not foundInternal server error
Internal server errorPOST /api/apikey/revoke HTTP/1.1
Host: proven-4-2-test.proven.indicio.tech
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"wallet_id": "wallet123",
"name": "CI worker"
}{
"status": "text"
}