Access and integrate with our SaaS business management platform through our RESTful API. Seamlessly connect with Zapier, Make.com, n8n, and all major no-code automation tools. All examples include ready-to-use curl commands for direct implementation in n8n HTTP nodes.
All API requests, except authorization requests, require an access token.
An access token provides a temporary and secure access to myCRM.ng API.
An access token can be obtained using the /auth/login
endpoint.
Perfect for integrating with Zapier, Make.com, n8n, and other no-code automation platforms.
POST https://mycrm.ng/api/v1/auth/login
{
"Content-Type": "application/json",
"Accept": "application/json"
}
{
"email": "your-email@example.com",
"password": "your-password"
}
curl -X POST https://mycrm.ng/api/v1/auth/login \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"email": "your-email@example.com",
"password": "your-password"
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
```
```
}'
To use this in n8n, configure your HTTP node with these parameters:
{
"success": true,
"data": {
"token": "your-access-token-here",
"user": {
"id": 1,
"name": "User Name",
"email": "user@example.com"
}
}
}
Once you have the access token, include it in the Authorization header for all subsequent API requests:
Authorization: Bearer your-access-token-here
curl -X GET https://mycrm.ng/api/v1/users \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
To use this in n8n with authentication, configure your HTTP node with these parameters:
The myCRM.ng API follows REST API patterns with JSON format for most requests and responses. Below are the main endpoint categories, perfect for integration with Zapier, Make.com, n8n, and other no-code automation platforms. All endpoints are accessible via https://mycrm.ng/api/v1/[endpoint] and include ready-to-use curl examples.
curl -X GET https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X GET https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/clients \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Client",
"email": "client@example.com",
"phone": "+2341234567890",
"address": "Client Address"
}'
curl -X PUT https://mycrm.ng/api/v1/clients/1 \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "Updated Client Name",
"email": "updated@example.com"
}'
curl -X GET https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/projects \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "New Project",
"client_id": 1,
"start_date": "2025-09-01",
"end_date": "2025-12-31",
"status": "active"
}'
curl -X GET https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
curl -X POST https://mycrm.ng/api/v1/tasks \
-H "Authorization: Bearer your-access-token-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"title": "New Task",
"project_id": 1,
"description": "Task description",
"priority": "medium",
"status": "pending"
}'
Endpoint | Method | Description |
---|---|---|
/api/v1/auth/login |
POST | Login and get access token |
/api/v1/auth/logout |
POST | Logout and invalidate token |
/api/v1/auth/refresh |
POST | Refresh access token |
/api/v1/app |
GET | Get app information/status |
/api/v1/app |
POST | App-related operations |
/api/v1/users |
GET | Get all users |
/api/v1/users/{id} |
GET | Get specific user |
/api/v1/users |
POST | Create new user |
/api/v1/users/{id} |
PUT | Update user |
/api/v1/users/{id} |
DELETE | Delete user |
/api/v1/clients |
GET | Get all clients |
/api/v1/clients/{id} |
GET | Get specific client |
/api/v1/clients |
POST | Create new client |
/api/v1/clients/{id} |
PUT | Update client |
/api/v1/clients/{id} |
DELETE | Delete client |
/api/v1/projects |
GET | Get all projects |
/api/v1/projects/{id} |
GET | Get specific project |
/api/v1/projects |
POST | Create new project |
/api/v1/projects/{id} |
PUT | Update project |
/api/v1/projects/{id} |
DELETE | Delete project |
/api/v1/tasks |
GET | Get all tasks |
/api/v1/tasks/{id} |
GET | Get specific task |
/api/v1/tasks |
POST | Create new task |
/api/v1/tasks/{id} |
PUT | Update task |
/api/v1/tasks/{id} |
DELETE | Delete task |
/api/v1/leads |
GET | Get all leads |
/api/v1/leads/{id} |
GET | Get specific lead |
/api/v1/leads |
POST | Create new lead |
/api/v1/leads/{id} |
PUT | Update lead |
/api/v1/leads/{id} |
DELETE | Delete lead |
/api/v1/invoices |
GET | Get all invoices |
/api/v1/invoices/{id} |
GET | Get specific invoice |
/api/v1/invoices |
POST | Create new invoice |
/api/v1/invoices/{id} |
PUT | Update invoice |
/api/v1/invoices/{id} |
DELETE | Delete invoice |
/api/v1/payments |
GET | Get all payments |
/api/v1/payments/{id} |
GET | Get specific payment |
/api/v1/payments |
POST | Create new payment |
/api/v1/payments/{id} |
PUT | Update payment |
/api/v1/payments/{id} |
DELETE | Delete payment |
/api/v1/employees |
GET | Get all employees |
/api/v1/employees/{id} |
GET | Get specific employee |
/api/v1/employees |
POST | Create new employee |
/api/v1/employees/{id} |
PUT | Update employee |
/api/v1/employees/{id} |
DELETE | Delete employee |
/api/v1/attendance |
GET | Get attendance records |
/api/v1/attendance/clock-in |
POST | Clock in |
/api/v1/attendance/clock-out |
POST | Clock out |
/api/v1/leaves |
GET | Get leave requests |
/api/v1/leaves |
POST | Submit leave request |
/api/v1/leaves/{id}/approve |
PUT | Approve leave |
/api/v1/leaves/{id}/reject |
PUT | Reject leave |
/api/v1/estimates |
GET | Get all estimates |
/api/v1/estimates/{id} |
GET | Get specific estimate |
/api/v1/estimates |
POST | Create new estimate |
/api/v1/estimates/{id} |
PUT | Update estimate |
/api/v1/estimates/{id} |
DELETE | Delete estimate |
For all authenticated requests, include:
{
"Content-Type": "application/json",
"Accept": "application/json",
"Authorization": "Bearer your-access-token-here"
}
When configuring the n8n HTTP node, you can add these headers in the "Headers" section:
Content-Type
application/json
Accept
application/json
Authorization
Bearer your-access-token-here
Replace your-access-token-here
with the actual token obtained from the login endpoint.
{
"success": true,
"data": {
// Response data here
},
"message": "Operation successful"
}
In n8n, you can access the response data using expressions like {{$json["data"]}}
or specific fields like {{$json["data"]["id"]}}
.
{
"success": false,
"message": "Error description",
"errors": {
// Validation errors if applicable
}
}
Error responses can be handled in n8n using the "Error" output of the HTTP node or by
checking the {{$json["success"]}}
field in your workflow.
List endpoints typically support pagination:
GET /api/v1/endpoint?page=1&per_page=10
Many endpoints support filtering:
GET /api/v1/clients?search=company_name
GET /api/v1/projects?status=active
GET /api/v1/tasks?project_id=5
Platform: This API documentation is specifically for the myCRM.ng SaaS platform. All endpoints are accessible at https://mycrm.ng/api/v1/[endpoint]
.
API Prefix: All endpoints are prefixed with /api/v1/
Authentication: Access token is required for all endpoints except login. Tokens are obtained via the /auth/login
endpoint.
Content Type: Use application/json
for request and response content
HTTPS: Ensure all API calls are made over HTTPS for security
Rate Limiting: Be aware of any rate limiting policies implemented. For high-volume integrations, implement appropriate delays between requests.
Token Expiry: Access tokens may expire and need to be refreshed using the /auth/refresh
endpoint or by re-authenticating.
No-Code Integration: Seamlessly integrate with Zapier, Make.com, n8n, and other major automation platforms. All examples in this documentation include ready-to-use curl commands that can be directly implemented in n8n HTTP nodes.
n8n Implementation: When using with n8n, set the HTTP method, URL, headers, and body as shown in the curl examples. Use the "Body" parameter with "RAW" format for POST/PUT requests, and add headers in the "Headers" section.
Data Processing: In n8n workflows, you can process API responses using Function nodes. Access response data with {{$json["data"]}}
and handle errors by checking {{$json["success"]}}
.