Invoices
Lien d'aperçu PDF d'une facture (brouillon ou finalisée)
Renvoie un lien SIGNÉ à courte durée (~30 min) vers un aperçu PDF, pour VISUALISER la facture dans un chat. Brouillon : rendu à la volée à la marque avec filigrane BROUILLON. Facture finalisée : son PDF officiel (même document que /invoices/{id}/pdf), sans filigrane. Purement visuel : n'émet, ne numérote ni ne finalise jamais rien. Scope requis : invoices:read.
get/invoices/{id}/preview
Request
- Base URL: https://api.swipify.fr/api/v1
- URL: https://api.swipify.fr/api/v1/invoices/{id}/preview
- Auth: API key in header X-API-Key
Path parameters
idinteger required
Response
Lien d'aperçu signé
Example response
{
"previewUrl": "https://api.swipify.fr/api/v1/preview/eyJhbGc..."
}Changes
No recorded changes to this operation across all 1 revision of this API.