@extends('business::layouts.app') @section('title', 'API — BizWap') @push('styles') @endpush @section('content')
Manage your API token and explore the available endpoints.
Regenerating will immediately deactivate the current token. Update any integrations before proceeding.
No active token yet. Generate one to start using the BizWap API.
@endifInclude this in every API request as business_uuid.
Queues a WhatsApp template message to one or more phone numbers. Each number is processed independently on our servers.
{{-- Request Headers --}}| Header | Value | Notes |
|---|---|---|
Authorization required |
Bearer <your-token> |
Your API token generated above. |
Content-Type required |
application/json |
Request body must be JSON. |
Accept |
application/json |
Ensures error responses are returned as JSON. |
| Field | Type | Description |
|---|---|---|
business_uuid required |
string (UUID) | Your unique business identifier. Used to verify token ownership. |
template_name required |
string | The name of an approved template on your account (e.g. order_confirmation). |
phone_numbers required |
array of strings | Recipient phone numbers in international format without + (e.g. 919876543210). Min 1 number. |
| Status | Meaning |
|---|---|
| 202 Accepted | Messages queued successfully. Delivery is asynchronous. |
| 401 Unauthorized | Missing or invalid token, or business_uuid does not match the token. |
| 422 Unprocessable Entity | Validation failed. Check errors in the response body for field-level details. |