Fanovate API
stringstringintegerintegerinteger · requiredinteger · requiredinteger | null · requiredinteger · requiredstring · requiredstring | null · requiredstring · date-time · requiredstring · date-time · required
integer · requiredinteger · requiredinteger | nullstring · minLength: 3 · maxLength: 3string · maxLength: 500string · date-timeinteger · requiredinteger · requiredinteger | null · requiredinteger · requiredstring · requiredstring | null · requiredstring · date-time · requiredstring · date-time · required
integer · requiredintegerinteger | nullintegerstring · minLength: 3 · maxLength: 3string · maxLength: 500string · date-timeinteger · requiredinteger · requiredinteger | null · requiredinteger · requiredstring · requiredstring | null · requiredstring · date-time · requiredstring · date-time · required
integer · requiredstring · requiredstring | null · requiredstring | null · requiredinteger | null · requiredboolean · requiredstring · date-time · requiredstring · date-time · required
string · minLength: 1 · maxLength: 120 · requiredstring | null · maxLength: 8string | null · pattern: integer | null · min: 0 · max: 1000000000booleaninteger · requiredstring · requiredstring | null · requiredstring | null · requiredinteger | null · requiredboolean · requiredstring · date-time · requiredstring · date-time · required
integer · requiredstring · minLength: 1 · maxLength: 120string | null · maxLength: 8string | null · pattern: integer | null · min: 0 · max: 1000000000booleaninteger · requiredstring · requiredstring | null · requiredstring | null · requiredinteger | null · requiredboolean · requiredstring · date-time · requiredstring · date-time · required
stringstringstring · date-time · requiredstring · date-time · requiredinteger | null · requiredboolean
Accounting
Cost types, cost entries and the cost summary of the agency.
List cost entries
GET
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-entries
X-API-Key (header)
Returns up to 500 entries, newest first. Filter by period (ISO dates), cost type or creator.
query Parameters
fromtotypeIdcreatorIdList cost entries › Responses
Success.
object[]
idcostTypeIdcreatorIdamountCentscurrencydescriptionoccurredAtcreatedAtCreate a cost entry
POST
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-entries
X-API-Key (header)
The cost type and the optional creator must belong to the agency, otherwise 404. Currency defaults to USD.
Create a cost entry › Request Body
costTypeIdamountCentscreatorIdcurrencydescriptionoccurredAtCreate a cost entry › Responses
Success.
idcostTypeIdcreatorIdamountCentscurrencydescriptionoccurredAtcreatedAtUpdate a cost entry
PATCH
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-entries/{id}
X-API-Key (header)
path Parameters
idUpdate a cost entry › Request Body
costTypeIdcreatorIdamountCentscurrencydescriptionoccurredAtUpdate a cost entry › Responses
Success.
idcostTypeIdcreatorIdamountCentscurrencydescriptionoccurredAtcreatedAtList cost types
GET
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-types
X-API-Key (header)
Returns all cost types of the agency, ordered by name.
List cost types › Responses
Success.
object[]
idnamesymbolcolordefaultMonthlyBudgetCentsarchivedcreatedAtupdatedAtCreate a cost type
POST
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-types
X-API-Key (header)
Create a cost type › Request Body
namesymbolcolor^[0-9a-fA-F]{3,8}$defaultMonthlyBudgetCentsarchivedCreate a cost type › Responses
Success.
idnamesymbolcolordefaultMonthlyBudgetCentsarchivedcreatedAtupdatedAtUpdate a cost type
PATCH
https://api.fanovate.io
/dashboard/api/v1/accounting/cost-types/{id}
X-API-Key (header)
Partial update. Responds 404 if the cost type does not belong to the agency.
path Parameters
idUpdate a cost type › Request Body
namesymbolcolor^[0-9a-fA-F]{3,8}$defaultMonthlyBudgetCentsarchivedUpdate a cost type › Responses
Success.
idnamesymbolcolordefaultMonthlyBudgetCentsarchivedcreatedAtupdatedAtGet the cost summary
GET
https://api.fanovate.io
/dashboard/api/v1/accounting/summary
X-API-Key (header)
Spend per cost type and budget headroom for the period (default: last 30 days), converted to USD cents. Totals are null and kursFehlt is true when an entry cannot be converted.
query Parameters
fromtoGet the cost summary › Responses
Success.
fromtoobject[] · required
totalSpentCentskursFehlt