curl -X POST "https://api.scanova.io/tag/custom/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "tag": "vip" }'
{ "tag": "vip" }
Dossiers et tags
Créer un tag personnalisé
POST /tag/custom/
POST
/
tag
/
custom
/
curl -X POST "https://api.scanova.io/tag/custom/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "tag": "vip" }'
{ "tag": "vip" }
Crée un tag personnalisé pour le compte demandeur sur l’hôte de l’API de gestion (
api.scanova.io), authentifié avec votre clé brute d’API de gestion.
POST https://api.scanova.io/tag/custom/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
requis
Nom du tag, jusqu’à 50 caractères. Rejeté s’il contient
< ou > (bloque par exemple les charges <script>).curl -X POST "https://api.scanova.io/tag/custom/" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a" \
-H "Content-Type: application/json" \
-d '{ "tag": "vip" }'
{ "tag": "vip" }
Les tags sont partagés par nom, la propriété non
Le nom de tag sous-jacent (vip) est une valeur partagée/globale à l’échelle du système — créer un tag personnalisé réutilise un tag existant portant ce nom ou en crée un nouveau. Ce qui est propre à chaque compte, c’est l’enregistrement de propriété : cet appel échoue avec 400 si ce compte a déjà un tag personnalisé portant ce nom, même si le nom du tag lui-même est déjà utilisé ailleurs (par exemple rattaché aux QR codes d’un autre compte).
Voir aussi
- Lister vos tags personnalisés — voir ce que cet appel ajoute.
- Lister les tags — l’annuaire complet des tags du compte.
- Présentation de l’API de gestion — le schéma d’authentification et les règles de quota applicables à cet endpoint.
Autorisations
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
Corps
application/json
Tag name. Rejected if it contains < or >.
Maximum string length:
50Réponse
Custom tag created.
Cette page vous a-t-elle été utile ?