Welcome to LatePoint API
LatePoint API Extension provides a complete REST interface to interact with your LatePoint booking system. This API allows you to integrate LatePoint with external applications, create custom automations, and build unique user experiences.Key Features
RESTful Design
API designed following REST principles with intuitive endpoints and standard HTTP methods
Secure Authentication
API Key system with granular permissions and configurable rate limiting
JSON Responses
All responses in JSON format with consistent structure and HTTP status codes
Complete Documentation
Code examples in multiple languages and detailed use cases
Base URL
All API requests use the following base URL:Authentication
Each request must include your API Key in the header:Response Structure
Successful Responses
All successful responses follow this structure:Error Responses
Errors follow this structure:HTTP Status Codes
Code | Meaning | Description |
---|---|---|
200 | OK | Successful request |
201 | Created | Resource created successfully |
400 | Bad Request | Malformed request |
401 | Unauthorized | Missing or invalid API Key |
403 | Forbidden | Insufficient permissions |
404 | Not Found | Resource not found |
422 | Unprocessable Entity | Invalid input data |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Server error |
Pagination
Pagination Parameters
Endpoints that return lists support pagination:page
: Page number (default: 1)per_page
: Items per page (default: 20, maximum: 100)
Paginated Response
Filtering and Search
Common Filters
Most endpoints support filters:Text Search
For free text searches:Sorting
Specify the order of results:sort
: Field to sort byorder
:asc
(ascending) ordesc
(descending)
Rate Limiting
Default Limits
API Key Type | Per Minute | Per Hour |
---|---|---|
Test | 100 | 1,000 |
Live | 60 | 3,600 |
Rate Limiting Headers
Each response includes information about your current usage:Available Resources
Bookings
Complete booking management:- GET
/bookings
- List bookings - POST
/bookings
- Create booking - GET
/bookings/{id}
- Get booking - PUT
/bookings/{id}
- Update booking - DELETE
/bookings/{id}
- Delete booking
Customers
Customer administration:- GET
/customers
- List customers - POST
/customers
- Create customer - GET
/customers/{id}
- Get customer - PUT
/customers/{id}
- Update customer
Agents
Agent and schedule queries:- GET
/agents
- List agents - GET
/agents/{id}
- Get agent
Services
Available services queries:- GET
/services
- List services - GET
/services/{id}
- Get service
Availability
Availability verification:- GET
/availability
- Check availability
Date and Time Formats
ISO 8601 Format
All dates and times use ISO 8601 format:Timezone
Dates are handled in the timezone configured in WordPress. To get the current timezone:Versioning
Current Version
The current API version isv1
. All URLs include the version:
Compatibility
We are committed to maintaining backward compatibility within the same major version. Breaking changes will be introduced in new versions.Usage Examples
Basic Example
Next Steps
Authentication
Configure your API Key and permissions
Booking Management
Start with the most used endpoint
Error Handling
Learn to handle errors correctly
Practical Examples
See complete implementation examples
Support
If you need help:- Documentation: Review the specific documentation for each endpoint
- Examples: Check the code examples in each section
- Technical support: Contact through your LatePoint account
- Community: Participate in LatePoint forums