Skip to main content
POST
Create an invoice approval link
Use it when a person should decide. The link issues nothing by itself.

Authorizations

Authorization
string
header
required

A company API key, mk_live_…, that the company's owner creates in the Melso app under Settings, Connect your AI, API keys. It works in that one company with the owner's authority. Test keys (mk_test_…) are not issued. Keep the key on your servers. See Authentication.

Path Parameters

company_id
string<uuid>
required

The company's ID. Every company-scoped call works in exactly this company.

invoice_id
string<uuid>
required

Response

The page, and the draft it shows.

invoice
object
required

The draft the page shows, with its version.

approval_required
boolean
required
approval_url
string<uri>
required

The signed-in Melso page where the company's owner reviews the draft and issues it.

cta_url
string<uri>
required

The same page, for a button.

cta_text
string
required

The button's label, in Spanish.

buttons
object[]
required

Two buttons, issuing (review_and_issue) and changing the draft (edit_draft), with Spanish labels.