Create an approval link
curl --request POST \
--url https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}Tax returns
Create an approval link
Returns the Melso page where a member of the company reviews the exact return and authorizes its version.
POST
/
companies
/
{company_id}
/
tax-returns
/
{tax_return_id}
/
approval-link
Create an approval link
curl --request POST \
--url https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.melso.ai/v1/companies/{company_id}/tax-returns/{tax_return_id}/approval-link', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.
Authorizations
companyApiKeypartnerApiKey
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.