Enterprises API Reference

Complete API reference for managing enterprises and clients programmatically.

Base URL
https://wapify.me/api/enterprises
Authentication

All requests require Bearer token authentication. Include the token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN
Available Endpoints
GET List Enterprises
https://wapify.me/api/enterprises

Retrieve a paginated list of enterprises.

Query Parameters
Parameter Tipo Descripción
page integer Page number (default: 1)
per_page integer Items per page (default: 20)
Example Request
curl -X GET "https://wapify.me/api/enterprises?page=1&per_page=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
Response
{
  "success": true,
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 1,
        "name": "Example Corp",
        "email": "info@example.com",
        "phone": "+1234567890",
        "status": {
          "id": 1,
          "name": "Active"
        },
        "enterprise_billing_addresses": [
          {
            "id": 1,
            "name": "Razón Social",
            "identification_number": "20-12345678-9"
          }
        ],
        "created_at": "2024-01-15T10:30:00Z",
        "updated_at": "2024-01-15T10:30:00Z"
      }
    ],
    "per_page": 10,
    "total": 25,
    "last_page": 3
  },
  "team": {
    "id": 1,
    "name": "My Team"
  },
  "user": {
    "id": 1,
    "name": "John Doe",
    "email": "john@example.com",
    "role": "admin"
  },
  "access_level": "full"
}
GET Get Enterprise
https://wapify.me/api/enterprises/{id}

Retrieve a single enterprise by ID.

Example Request
curl -X GET "https://wapify.me/api/enterprises/1" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"