Skip to main content

Installation

1

Get Plugin License

To obtain your License code, once you have made your payment and your order is complete, go to https://wplimit.com/account/licenses/ and your active license will be appear there.
2

Download the Plugin

Download the LatePoint API Extension plugin ZIP file from your WPLimit Account on Downloads.
3

Install in WordPress

  1. Go to Plugins > Add New in your WordPress dashboard
  2. Click Upload Plugin
  3. Select the downloaded ZIP file
  4. Click Install Now
  5. Activate the plugin once installed
4

Verify Requirements

Make sure you have:
  • LatePoint main plugin installed and activated
  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • Administrator permissions in WordPress

Initial Configuration

1. Access Configuration

Once the plugin is activated, you’ll find the new API Settings section in the LatePoint menu:
LatePoint > API Settings

2. Generate your API Key

Save your API Key in a secure place. You won’t be able to see it again once generated.
  1. On the API configuration page, click “Generate New API Key”
  2. Copy the generated API Key
  3. Save it in your password manager or secure configuration file

3. Configure Permissions

Configure which endpoints will be available for your API Key:
  • Bookings: Complete booking management
  • Customers: Customer administration
  • Agents: Agent queries
  • Services: Service queries
  • Availability: Availability verification

Your First API Call

Base Endpoint

All API calls use the following base URL:
https://your-site.com/wp-json/latepoint-api/v1/

Authentication

Include your API Key in the header of each request:
X-API-Key: your_api_key_here

Example: Get Services List

curl -X GET "https://your-site.com/wp-json/latepoint-api/v1/services" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json"

Expected Response

{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "General Consultation",
      "duration": 30,
      "price": 50.00,
      "description": "General medical consultation",
      "category_id": 1
    },
    {
      "id": 2,
      "name": "Specialized Consultation",
      "duration": 60,
      "price": 100.00,
      "description": "Consultation with specialist",
      "category_id": 2
    }
  ],
  "total": 2
}

Verify Configuration

Connectivity Test

You can verify that everything works correctly with this test endpoint:
curl -X GET "https://your-site.com/wp-json/latepoint-api/v1/status" \
  -H "X-API-Key: your_api_key_here"
Successful response:
{
  "status": "success",
  "message": "API is working correctly",
  "version": "1.0.0",
  "timestamp": "2024-01-15T10:30:00Z"
}

Next Steps

Troubleshooting

  • Verify that your API Key is correct
  • Make sure to include the X-API-Key header
  • Confirm that the API Key hasn’t expired
  • Verify that the base URL is correct
  • Confirm that the plugin is activated
  • Check that permalinks are configured correctly
  • Check WordPress logs
  • Verify that LatePoint main plugin is installed
  • Confirm that system requirements are met
Need help? Check our complete documentation or contact technical support.
I