Plugins
getPlugins
Get plugins list
GET /v2/plugins
Headers
Key | Value | Required | Description |
---|---|---|---|
Authorization | Bearer {token} | yes | JWT Token of user |
Response 200
Key | Description |
---|---|
ID | ID of plugin |
Name | Name of plugin |
Type | Type of plugin: Free, Premium |
Description | Description of plugin |
Logo | Logo of plugin |
Background Image | Background image of plugin |
URL | URL of plugin |
Abilities | Abilities of plugin |
Created At | Created at date |
Updated At | Updated at date |
User | User of plugin. If plugin is not installed user will be empty |
{
"status": 200,
"success": true,
"data": [
{
"id": 1,
"name": "Name",
"type": "Free",
"description": "Description",
"logo": "https://example.com/logo.png",
"background_image": "https://example.com/background.png",
"url": "https://plugin.com",
"abilities": "[\"create-lead\",\"update-lead\",\"delete-lead\"]",
"created_at": "2024-06-10T09:05:51.000000Z",
"updated_at": "2024-06-10T09:05:52.000000Z",
"user": {
"id": 1,
"plugin_id": 1,
"user_id": 9,
"token": "1|jCr5Qbg8IjimhZjL0mbTWSeWuvIw6a0Dy59KdmWad7e5b391",
"created_at": "2024-06-10T09:13:49.000000Z",
"updated_at": "2024-06-10T09:13:49.000000Z"
}
}
]
}
installPlugin
Install a plugin
POST /v2/plugins/install
Requires authorization
Body
Key | Value | Required | Description |
---|---|---|---|
plugin_id | {int} | yes | ID of the plugin |
Response 200
Key | Description |
---|---|
Plugin ID | ID of plugin |
User ID | ID of user |
Token | Token of plugin |
{
"status": 200,
"success": true,
"data": {
"plugin_id": 1,
"user_id": 9,
"token": "1|jCr5Qbg8IjimhZjL0mbTWSeWuvIw6a0Dy59KdmWad7e5b391",
"updated_at": "2024-06-10T09:13:49.000000Z",
"created_at": "2024-06-10T09:13:49.000000Z",
"id": 1
}
}
Table of Contents