Obtenir une clé API
Billing

POST /api/billing/quote

POST https://api.iagenify.com/api/billing/quote

Reference for POST /api/billing/quote.

authenticatedno JSON body

HTTP request

curl https://api.iagenify.com/api/billing/quote -X POST -H "Authorization: Bearer $IAGENIFY_TOKEN"

JavaScript

const response = await fetch("https://api.iagenify.com/api/billing/quote", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.IAGENIFY_TOKEN}` }
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);

Python

import os
import requests

response = requests.request("POST", "https://api.iagenify.com/api/billing/quote", headers={"Authorization": "Bearer " + os.environ["IAGENIFY_TOKEN"]}, timeout=30)
response.raise_for_status()
result = response.json()

Response and errors

Success returns JSON from the endpoint.