Data
How many items to offset by for pagination
0How many items to return at one time (max 64)
64Whether to return read/unread items, or all if not provided
A paged array of notifications
Application error
GET /data/notifications HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
{
"total": 1,
"list": [
{
"type": "text",
"data": {},
"created": "2025-11-02T14:17:10.127Z"
}
]
}User profile has been updated
No content
Application error
PATCH /data/profile HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"name": "text",
"image": "text"
}No content
Latest notifications have been marked as read
No content
Application error
POST /data/notifications/mark-read HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
No content
Certs internal route, not for typical usage. Submits onboarding information for new accounts.
Success
Application error
POST /data/onboarding HTTP/1.1
Host: api-testnet.dock.io
CERTS-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Gets the plan limits for your account
Account paid plan limits
Error getting account limits
GET /data/limits HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
{
"code": 1
}Gets the call history for your account
Account paid calls history by date
Default response
Error getting account history
GET /data/history HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
[
{}
]Gets the transactions for your account
How many items to offset by for pagination
0How many items to return at one time (max 64)
64Account transactions
Error getting account transactions
GET /data/transactions HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
{
"total": 1,
"list": [
{}
]
}Gets some statistics for your account
Account statistics
Error getting account statistics
GET /data/stats HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Accept: */*
{
"code": 1
}Deletes all data stored on our servers (credentials, dids, profiles, etc - not authentication/account data).
Data has been deleted
Data could not be deleted
Unauthorized
POST /data/delete HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"validation": "text"
}{
"code": 1
}WARNING - Deletes your entire account! this is a two step process that requires getting a token then re-submitting that token as validation
Account has been deleted
Account could not be deleted
Unauthorized
POST /data/accountdelete HTTP/1.1
Host: api-testnet.dock.io
DOCK-API-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"reason": "text",
"validation": "text"
}{
"code": 1
}Last updated
Was this helpful?