HelipodDocs

Account API

Read your wallet, invoices and monthly statements, notifications and project activity, and talk to support, with a Helipod API key.

The Account API gives your code the account pages of the dashboard: the wallet balance and its transactions, invoices and monthly statements, in-app notifications, the activity of a project, and support tickets. It reads; it never spends money.

Base URL
https://api.helipod.io/api/account

Authenticate with a Helipod API key that has Account API enabled. It is not in a new key's default products: tick it when you create the key.

curl https://api.helipod.io/api/account/wallet \
  -H "Authorization: Bearer hel_your_key"

Whole account or one project

Money and support belong to your account, not to a project. What a key reaches depends on how it was created:

RouteWhole-account keyKey limited to one project
Wallet, transactions, invoices, statementsYes403 ACCOUNT_KEY_REQUIRED
Support ticketsYes403 ACCOUNT_KEY_REQUIRED
NotificationsAll of yoursOnly that project's
Project activityEvery project you ownOnly that project

Endpoints

Method and path
WalletGET /wallet, GET /wallet/transactions
InvoicesGET /invoices, GET /invoices/{invoiceId}
StatementsGET /statements, GET /statements/{month}
NotificationsGET /notifications, GET /notifications/unread-count, POST /notifications/read-all, POST /notifications/{notificationId}/read
ActivityGET /projects/{projectId}/activity
TicketsGET POST /tickets, GET /tickets/{ticketId}, POST /tickets/{ticketId}/messages, POST /tickets/{ticketId}/close

What stays in the dashboard

  • Adding money. Top-ups by card, bank transfer or e-wallet happen on the dashboard's payment pages. The API shows a pending invoice's own paymentUrl so you can send someone to pay it.
  • API keys and team members. Creating keys and inviting people is done in the dashboard.

Moving money from the wallet to the AI balance is part of the AI API.

Errors

Errors use the shared envelope.

StatusCodeWhen
401NO_API_KEY, INVALID_API_KEY, API_KEY_EXPIREDAuthentication failed
403SCOPE_NOT_ALLOWEDThe key was not given the Account API
403ACCOUNT_KEY_REQUIREDAn account route with a key limited to one project
400INVALID_MONTHThe month is not YYYY-MM
400MONTH_NOT_STARTEDA statement for a month that has not started
404INVOICE_NOT_FOUND, NOTIFICATION_NOT_FOUND, TICKET_NOT_FOUND, PROJECT_NOT_FOUNDDoesn't exist, or the key can't reach it
409INVOICE_NOT_PAIDInvoice details exist only for paid invoices
409TICKET_CLOSEDReplying to a closed ticket
422VALIDATION_ERRORThe body or query does not match the schema
429TOO_MANY_TICKETS, RATE_LIMITEDMore than 5 new tickets an hour, or too many requests

On this page