Aller au contenu

GET /v1/me

Retourne l’organisation à laquelle la clé API est rattachée, avec son plan. Utile pour valider une clé et inspecter les limites du plan.

GET /api/v1/me
Authorization: Bearer twa_votre_cle_ici

Aucun paramètre.

{
"org_id": "018e5678-abcd-7000-8000-000000000001",
"org_name": "ACME Corp",
"plan": {
"name": "Pro",
"slug": "pro",
"max_api_calls_per_hour": -1
}
}
Champ Type Description
org_id string (UUID) Identifiant de l’organisation rattachée à la clé
org_name string Nom de l’organisation
plan object | null Informations du plan actif de l’organisation
plan.name string Nom de l’offre (Free, Team, Pro, Business ; une ancienne offre conservée par un abonné garde son propre nom)
plan.slug string Slug de l’offre (basic pour Free, plus pour Team, pro, enterprise pour Business ; plus-2025, pro-2025, enterprise-2025 pour les anciennes offres)
plan.max_api_calls_per_hour integer Limite d’appels par heure (-1 = illimité, 0 = aucun accès)
Fenêtre de terminal
curl -s \
-H "Authorization: Bearer twa_votre_cle_ici" \
https://app.techwatchalert.com/api/v1/me | jq .