Skip to main content
POST
Generate Invoice Now

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

Body

application/json

Keys this body does not declare are ignored, and the response's warnings name them, until 2026-11-02; from 2026-11-02 they are refused with 422 extra_forbidden naming the accepted keys.

billing_month
string | null

Billing month (YYYY-MM). Defaults to previous month.

dry_run
boolean
default:false

If true, show what would be invoiced without creating Stripe invoice.

Response

Successful Response

The response is of type Response Generate Invoice Now V1 Organizations Billing Generate Invoice Post · object.