Subwallet super Admin role only
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.
Unauthorized.
Internal server error while creating subwallet.
POST /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.
Internal server error while retrieving subwallets.
GET /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.
Subwallet record not found
Internal server error while retrieving a subwallet.
GET /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.
Unauthorized.
Internal server error.
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.
Unauthorized.
API key record not found
Internal server error
POST /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"
}Last updated
Was this helpful?