Docs

Add Account

POST /events/{eventId}/accounts

POST/events/{eventId}/accounts

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Creates a new account on the event. Accounts are named buckets used to organize the event's finances. Once created, transactions can be linked to an account as either debit (source) or credit (destination).

Requires EventAccountingAdmin permission on the event.

Path Parameters

FieldTypeRequiredDescription
eventIdGuidRequiredThe ID of the event.

Request Body

FieldTypeRequiredDescription
namestringRequiredThe display name for the account. Must not be empty.

Example Request

{
  "name": "Production Budget"
}

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller lacks EventAccountingAdmin.
BAD_REQUEST400Name is empty or invalid.