Before You Begin

Make sure you have a complete backup of your site before installing any plugin.

Checklist

  • System requirements verified
  • ✅ LatePoint main plugin installed and activated
  • ✅ Site backup completed
  • ✅ WordPress administrator access

Installation Methods

Method 1: WordPress Dashboard Installation

1

Access Plugin Panel

  1. Log in to your WordPress dashboard
  2. Go to Plugins > Add New
  3. Click “Upload Plugin” at the top
2

Upload File

  1. Click “Choose File”
  2. Select the latepoint-api-extension.zip file
  3. Click “Install Now”
3

Activate Plugin

  1. Once installed, click “Activate Plugin”
  2. You’ll be redirected to the plugins page
  3. Verify “LatePoint API Extension” appears in the list

Method 2: FTP Installation

1

Prepare Files

  1. Extract the latepoint-api-extension.zip file
  2. You’ll have a folder named latepoint-api-extension
  3. Connect to your server via FTP
2

Upload to Server

  1. Navigate to /wp-content/plugins/
  2. Upload the complete latepoint-api-extension folder
  3. Ensure all files are uploaded correctly
3

Activate from WordPress

  1. Go to Plugins > Installed Plugins in WordPress
  2. Find “LatePoint API Extension”
  3. Click “Activate”

Method 3: WP-CLI Installation

If you have WP-CLI access:
# Upload and install the plugin
wp plugin install /path/to/latepoint-api-extension.zip

# Activate the plugin
wp plugin activate latepoint-api-extension

# Verify it's active
wp plugin list --status=active

Installation Verification

1. Check Plugin Panel

In Plugins > Installed Plugins, you should see:
LatePoint API Extension
Version 1.0.0 | By LatePoint Team
Status: Active

2. Check LatePoint Menu

In the WordPress sidebar menu, under LatePoint, you should see a new option:
LatePoint
├── Dashboard
├── Bookings
├── Customers
├── ...
└── API Settings  ← New option

3. Verify API

Test that the API is available by visiting:
https://your-site.com/wp-json/latepoint-api/v1/
You should see a JSON response like:
{
  "namespace": "latepoint/v1",
  "routes": {
    "/latepoint/v1": {
      "namespace": "latepoint/v1",
      "methods": ["GET"],
      "endpoints": [...]
    }
  }
}

Initial Setup

1. Access Configuration

  1. Go to LatePoint > API Settings
  2. You’ll see the API configuration page
  3. If it’s your first time, a setup wizard will appear

2. Run Setup Wizard

1

Welcome

The wizard will welcome you and explain the API benefits.
2

System Check

An automatic verification will run for:
  • System requirements
  • Permalinks configuration
  • Database permissions
  • LatePoint main status
3

Security Configuration

  • Configure rate limiting
  • Set access policies
  • Configure audit logs
4

First API Key

  • Generate your first API Key
  • Configure basic permissions
  • Copy and save the key

Database Configuration

Automatically Created Tables

During activation, the following tables are created:
-- Stores API Keys
wp_latepoint_api_keys

-- Records API usage
wp_latepoint_api_logs

-- Rate limiting configuration
wp_latepoint_api_rate_limits

-- License information
wp_latepoint_license_info

Verify Tables

You can verify the tables were created correctly:
SHOW TABLES LIKE 'wp_latepoint_api_%';

Troubleshooting

Error: “Plugin could not be activated”

Possible causes:
  • LatePoint main plugin not installed
  • Incompatible PHP version
  • Incorrect file permissions
Solution:
  1. Verify LatePoint is installed and activated
  2. Check system requirements
  3. Check WordPress error logs

Error: “Database error during activation”

Cause: Insufficient database permissions Solution:
  1. Verify WordPress user has CREATE and ALTER permissions
  2. Contact your hosting provider if necessary
  3. Check MySQL/MariaDB logs

Error: “API endpoints not found”

Cause: Permalinks not configured correctly Solution:
  1. Go to Settings > Permalinks
  2. Select any option except “Plain”
  3. Save changes
  4. Test the API URL again

Next Steps

Support

If you encounter issues during installation:
  1. Check logs: WordPress > Tools > Site Health
  2. Consult documentation: wpdocs.latepoint.com
  3. Contact support: Through your LatePoint account
  4. Community: WordPress and LatePoint forums