Use these endpoints to build a data-download button, an account-closure flow with a grace period, or a sign-out step that revokes the key a tool was using. All of them act on the key owner's own account and do not accept ?account=.
API access needs a Honey Bee plan or above; see the developer overview. The cancel-deletion route is the one exception: it skips the plan check only while a deletion is actually pending. Errors and rate limits follow Requests, errors and limits. Timestamps in these responses are Unix milliseconds.
Each endpoint shows curl. Endpoints with a request body also show JavaScript and Python; the others follow the same pattern with the same headers.
#Export account data
/api/v1/account/exportScopeaccount:writeBuilds a ZIP archive of CSV files with the account's profile, sign-in methods, linked wallets, memberships, follows, notifications, billing records, feedback and owned resources, and returns a download link. Exports are kept for 7 days. A repeat request while an unexpired export exists returns that file instead of building another. Any key with account:write, including an app Full Access key, can export everything.
Limited to 2 requests per hour, and to 2 newly built exports per day. There is no request body.
curl -X POST https://app.hive3.tech/api/v1/account/export \
-H "Authorization: Bearer $HIVE_API_KEY"const res = await fetch("https://app.hive3.tech/api/v1/account/export", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.HIVE_API_KEY}` },
});
const { data } = await res.json();import os, requests
res = requests.post(
"https://app.hive3.tech/api/v1/account/export",
headers={"Authorization": "Bearer " + os.environ["HIVE_API_KEY"]},
)
data = res.json()["data"]Returns 201. Download the file with a plain GET on downloadUrl and no Authorization header. Treat the link as a secret.
{
"data": {
"exportId": "export_123",
"fileName": "hive3-account-export-account_123-2026-10-27.zip",
"downloadUrl": "https://example.com/download/export_123",
"message": "Your account export is ready."
}
}400 invalid_request:An account export is already being prepared, orAccount export limit reached. Try again tomorrow.403 insufficient_scope: the key is read-only;requiredScopesis["account:write"].429 rate_limited: more than 2 requests in an hour; wait forRetry-After.
#Delete an account
Deleting an account is a two-step flow: request it, then either cancel within seven days or let it complete.
- Requesting deletion schedules deletion 7 days out, cancels the account's billing, turns off membership auto-renew, and hides the account from search.
- While deletion is pending, every key for the account returns
401 invalid_api_keyon every route exceptDELETE /api/v1/account/deletion. That route stays reachable with the same key and skips the plan check while the deletion is pending. - After the scheduled time the account and its data are permanently deleted.
#Request deletion
/api/v1/account/deletionScopeaccount:destroyNeeds the account:destroy scope. The Full Access preset in the app never includes it, and the hive3 command-line tool never receives it. The key also needs account:write if you want to be able to cancel with the same key. Limited to 10 requests per minute.
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
confirmation | body | string | Yes | Must be DELETE. Surrounding spaces and letter case are ignored. |
curl -X POST https://app.hive3.tech/api/v1/account/deletion \
-H "Authorization: Bearer $HIVE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirmation":"DELETE"}'const res = await fetch("https://app.hive3.tech/api/v1/account/deletion", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIVE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ confirmation: "DELETE" }),
});
const { data } = await res.json();import os, requests
res = requests.post(
"https://app.hive3.tech/api/v1/account/deletion",
headers={"Authorization": "Bearer " + os.environ["HIVE_API_KEY"]},
json={"confirmation": "DELETE"},
)
data = res.json()["data"]Returns 200. accountDeletionScheduledAt is when permanent deletion starts.
{ "data": { "accountDeletionScheduledAt": 1793604800000, "success": true } }400 invalid_request:Type DELETE to confirm account deletion.403 insufficient_scope: the key lacksaccount:destroy;requiredScopesis["account:destroy"].
The request cancels billing before it returns. If it fails with an error other than the ones above, the deletion may already be scheduled; the key then returns 401 invalid_api_key on every route except the cancel route below.
#Cancel deletion
/api/v1/account/deletionScopeaccount:writeCancels a pending deletion, makes the account active again, and makes it searchable again, as cancelling in the app does. This route works while deletion is pending, with the account's own key, and skips the plan check only then. On an account that is not pending deletion it is plan-gated like every other route (403 plan_required below Honey Bee) and succeeds without changes. Billing cancelled by the deletion request is not recreated, so check the account's plans and subscriptions afterwards. Limited to 30 requests per minute.
curl -X DELETE https://app.hive3.tech/api/v1/account/deletion \
-H "Authorization: Bearer $HIVE_API_KEY"Returns 200.
{ "data": { "success": true } }403 insufficient_scope: the key lacksaccount:write. A key with onlyaccount:destroycannot cancel.409 conflict:Hive3 support started this deletion. Contact Hive3 support., orThis account is already scheduled for final deletion.
#Revoke the current key
/api/v1/account/keys/currentRevokes the key that signs the request. Any valid key can revoke itself, including a read-only key, so a leaked key can always be disabled from the outside. The hive3 command-line tool calls this route when you sign out. Revoked keys return 401 invalid_api_key. Limited to 10 requests per minute.
curl -X DELETE https://app.hive3.tech/api/v1/account/keys/current \
-H "Authorization: Bearer $HIVE_API_KEY"Returns 200.
{ "data": { "revoked": true } }401 invalid_api_key: the key is already revoked, expired or unknown.403 plan_required: the account is below Honey Bee. Revoke the key from SettingsHelp & feedbackDeveloper API keysManage API keys instead.