📚 API Documentation Guide

English
العربية
Español
Français

🚀 Getting Started

Welcome to the WABA API documentation. This guide will help you understand how to use our API effectively.

🔐 Authentication

All API endpoints require authentication using JWT tokens.

  1. Register or login to get an access token
  2. Include the token in the Authorization header: Authorization: Bearer YOUR_TOKEN
  3. Tokens expire after 30 minutes - use refresh token to get a new one

📝 Making Requests

Example using cURL:

curl -X POST http://localhost:8000/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"user@example.com","password":"password"}'

Example using JavaScript:

fetch('http://localhost:8000/api/v1/auth/login', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    email: 'user@example.com',
    password: 'password'
  })
})

🔍 Exploring Endpoints

Use the interactive API documentation to:

🚀 البدء

مرحباً بك في وثائق WABA API. سيساعدك هذا الدليل على فهم كيفية استخدام واجهة برمجة التطبيقات بشكل فعال.

🔐 المصادقة

جميع نقاط نهاية API تتطلب المصادقة باستخدام رموز JWT.

  1. سجل أو سجل الدخول للحصول على رمز الوصول
  2. قم بتضمين الرمز في رأس التفويض: Authorization: Bearer YOUR_TOKEN
  3. تنتهي صلاحية الرموز بعد 30 دقيقة - استخدم رمز التحديث للحصول على رمز جديد

📝 إجراء الطلبات

مثال باستخدام cURL:

curl -X POST http://localhost:8000/api/v1/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"user@example.com","password":"password"}'

🚀 Comenzar

Bienvenido a la documentación de la API de WABA. Esta guía te ayudará a entender cómo usar nuestra API de manera efectiva.

🔐 Autenticación

Todos los endpoints de la API requieren autenticación usando tokens JWT.

  1. Regístrate o inicia sesión para obtener un token de acceso
  2. Incluye el token en el encabezado Authorization: Authorization: Bearer YOUR_TOKEN
  3. Los tokens expiran después de 30 minutos - usa el token de actualización para obtener uno nuevo

🚀 Commencer

Bienvenue dans la documentation de l'API WABA. Ce guide vous aidera à comprendre comment utiliser notre API efficacement.

🔐 Authentification

Tous les endpoints de l'API nécessitent une authentification à l'aide de tokens JWT.

  1. Inscrivez-vous ou connectez-vous pour obtenir un token d'accès
  2. Incluez le token dans l'en-tête Authorization: Authorization: Bearer YOUR_TOKEN
  3. Les tokens expirent après 30 minutes - utilisez le token de rafraîchissement pour en obtenir un nouveau