GroundsocialDocs

API · Dashboard billing

PUT /accounts/{id}/alerts

Email the owners and admins when the balance falls below a number of credits.

RequestPUT /v1/accounts/{id}/alerts
Operation idaccounts.alerts.update
CostFree
AuthDashboard session: Authorization: Bearer <session_token>. API keys are refused.

Path parameters

NameTypeRequiredDescription
idstringyesExample: acct_01J….

Request body

FieldTypeRequiredDescription
low_balance_creditsinteger | nullyesnull turns the alert off.

Responses

StatusMeaningSchema
200Saved.
400Invalid input.Error
401Not signed in, or an API key was sent.Error
403Members can look; owners and admins make changes.Error
404No such account among yours.Error

Errors use one shape everywhere; see Errors for every code and what to do.