Address
Suite 5288, Unit 3A,
34-35 Hatton Garden
Holborn, London, EC1N 8DX
The complete platform for API development that helps you create, test, and share your APIs faster than ever before.
Everything you need to build and manage your APIs in one place
Create beautiful, interactive API documentation that your users will love.
Test your endpoints with a powerful interface and save test scenarios.
Keep track of changes with built-in versioning for your API documentation.
Secure your APIs with multiple authentication methods.
Create mock responses for your API endpoints for faster development.
Monitor API usage and performance with detailed analytics.
Get started with HookAPI in just a few simple steps
Sign up for a free account and create your first API project in seconds.
Use our intuitive interface to define your API endpoints, parameters, and responses.
Test your API endpoints and automatically generate beautiful documentation.
Invite team members and share your API documentation with the world.
Comprehensive documentation to help you integrate with our API
All API requests require authentication using an API key that should be included in the header of each request.
Generate a new authentication token.
curl -X POST https://api.hookapi.online/api/v1/auth/token \
-H "Content-Type: application/json" \
-d '{"api_key": "your_api_key", "secret": "your_api_secret"}'
{
"status": "success",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2025-08-21T19:33:49Z"
}
}
Endpoints for managing user accounts and profiles.
Retrieve a list of users.
Parameter | Type | Required | Description |
---|---|---|---|
page | integer | No | Page number (default: 1) |
limit | integer | No | Number of records per page (default: 10) |
curl -X GET https://api.hookapi.online/api/v1/users?page=1&limit=10 \
-H "Authorization: Bearer YOUR_TOKEN"
{
"status": "success",
"data": {
"users": [
{
"id": 1,
"username": "john_doe",
"email": "john@example.com",
"created_at": "2025-01-15T10:30:00Z"
},
{
"id": 2,
"username": "jane_smith",
"email": "jane@example.com",
"created_at": "2025-02-20T14:15:00Z"
}
],
"pagination": {
"total": 42,
"pages": 5,
"page": 1,
"limit": 10
}
}
}
Create a new user.
curl -X POST https://api.hookapi.online/api/v1/users \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "new_user",
"email": "new@example.com",
"password": "securepassword",
"name": "New User"
}'
Endpoints for managing product information.
Retrieve a list of products.
// Using fetch API
const fetchProducts = async () => {
try {
const response = await fetch('https://api.hookapi.online/api/v1/products', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
}
});
const data = await response.json();
return data;
} catch (error) {
console.error('Error fetching products:', error);
}
};
Endpoints for managing customer orders.
Create a new order.
import requests
import json
url = "https://api.hookapi.online/api/v1/orders"
headers = {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
}
data = {
"customer_id": 123,
"products": [
{"product_id": 456, "quantity": 2},
{"product_id": 789, "quantity": 1}
],
"shipping_address": {
"street": "123 Main St",
"city": "Anytown",
"state": "CA",
"zip": "12345",
"country": "USA"
}
}
response = requests.post(url, headers=headers, data=json.dumps(data))
print(response.json())
Need more detailed documentation?
Contact Our Support TeamPowered by industry-leading technologies
Choose the plan that fits your needs
Join thousands of developers who are building better APIs with APIBro.
Get Started for FreeGet in touch with our team for any questions or support
Suite 5288, Unit 3A,
34-35 Hatton Garden
Holborn, London, EC1N 8DX
+44 7380 101228
support@hookapi.online