{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","activeApiName":"CURRENT","versions":[{"id":158111,"versionTagId":"latest","environmentTemplateId":null,"publishedId":392129,"published":true,"publishDate":"2020-01-23T15:20:18.000Z","publisherId":9205170,"customColor":"","customDomainId":null,"createdAt":"2020-01-23T15:20:18.000Z","updatedAt":"2021-06-13T22:48:54.000Z","apiName":"CURRENT"},{"id":436237,"versionTagId":"5bb8a8a8-67c5-408f-8b3a-e94b0e555015","environmentTemplateId":null,"publishedId":392129,"published":true,"publishDate":"2021-06-13T22:48:54.000Z","publisherId":9205170,"customColor":"","customDomainId":null,"createdAt":"2021-06-13T22:48:54.000Z","updatedAt":"2021-06-13T22:48:54.000Z","apiName":"2.0"}],"collection":{"info":{"_postman_id":"60c4af3a-fcf7-4c4c-bf8f-ee1a0e36646d","name":"Signassur v2","description":"## Signassur v2 API\n\nL'API **Signassur v2** permet de créer, gérer et suivre des demandes de signature électronique (signatures simples ou multi‑documents), ainsi que d'administrer vos sous‑comptes.\n\nElle est organisée dans cette collection autour de plusieurs groupes :\n\n- **Signatures** : création, consultation, annulation de demandes de signature.\n    \n- **Configuration** : options avancées (personnalisation de l'e‑mail, webhooks, redirections, dates d'expiration, etc.).\n    \n- **Sous‑comptes** : création, récupération et modification de sous‑comptes.\n    \n- **Réference API** : rappel des principaux codes de réponse HTTP.\n    \n\nCette documentation vous guide pour :\n\n- configurer votre environnement Postman,\n    \n- authentifier vos requêtes,\n    \n- utiliser les principales routes de l'API, notamment **GET** et **POST** `/v2/signatures`.\n    \n\n---\n\n## Authentification\n\nL'authentification à l'API v2 se fait via un **token** transmis dans le header HTTP `Authorization` en tant que **Bearer token**.\n\nLe token est stocké dans la variable Postman `{{api_token}}` de votre environnement (par exemple l'environnement **local**). Chaque requête doit inclure :\n\n``` http\nAuthorization: Bearer {{api_token}}\n\n```\n\nDans Postman, ce header est généralement défini :\n\n- au niveau de la **collection** (recommandé), pour qu'il soit automatiquement appliqué à toutes les requêtes, ou\n    \n- au niveau de chaque **requête** si nécessaire.\n    \n\nVeillez à :\n\n- récupérer votre token depuis votre espace client Signassur,\n    \n- le copier dans la variable `api_token` de l'environnement actif.\n    \n\n---\n\n## Environnement et variables\n\nLa collection est prévue pour fonctionner avec un environnement Postman nommé **local**.\n\nVariables disponibles dans l'environnement/collection :\n\n| Nom de la variable | Description | Exemple de valeur (non secrète) |\n| --- | --- | --- |\n| `base_api_url` | URL de base de l'API Signassur. | `https://api.signassur.local` |\n| `api_token` | Jeton d'authentification utilisé comme Bearer token dans les requêtes. | `xxxxxxxxxxxx` |\n| `content` | Contenu du document (payload JSON ou base64 du PDF) envoyé dans les requêtes de signature. | `{\"fileName\": \"contrat.pdf\", \"data\": \"<BASE64_PDF>\"}` |\n\nVeillez à sélectionner l'environnement adéquat (**local**, **recette**, **production**, etc.) et à y renseigner les bonnes valeurs avant d'exécuter les requêtes.\n\n---\n\n## Premiers pas\n\n1. Dupliquez cette collection dans votre espace de travail si nécessaire.\n2. Configurez l'environnement `local` en renseignant `base_api_url`, `api_token` et `content`.\n3. Lancez une première requête de **Signature simple** pour vérifier que tout fonctionne.\n\nLes exemples fournis dans les requêtes de la collection illustrent comment structurer le champ `content` pour transmettre vos documents à signer.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"9205170","team":573214,"collectionId":"60c4af3a-fcf7-4c4c-bf8f-ee1a0e36646d","publishedId":"SWT8fJZv","public":true,"publicUrl":"https://dev.signassur.com","privateUrl":"https://go.postman.co/documentation/9205170-60c4af3a-fcf7-4c4c-bf8f-ee1a0e36646d","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2021-06-13T22:48:54.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"production","id":"08301513-a576-4ed8-a392-ee364d6760fb","owner":"9205170","values":[{"key":"base_api_url","value":"https://api.signassur.com","enabled":true,"type":"default"},{"key":"api_token","value":"YOUR-API-TOKEN","enabled":true,"type":"secret"},{"key":"pdf_file","value":"","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/54c518af1cece4beeae93e0ee6a7816acb07f382721a95c38e0c34d95f7fa2fa","favicon":"https://signassur.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[{"label":"CURRENT","value":"latest"},{"label":"2.0","value":"5bb8a8a8-67c5-408f-8b3a-e94b0e555015"}],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"production","value":"9205170-08301513-a576-4ed8-a392-ee364d6760fb"}],"canonicalUrl":"https://dev.signassur.com/view/metadata/SWT8fJZv"}