HydraCore
API by router

Plugins

List Plugin Apps

GET
/v1/plugins/apps

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

provider_slug?Provider Slug

Filter by provider slug

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/plugins/apps'
Example Response
[  {    "categories": [],    "description": "",    "key": "string",    "logo": "",    "name": "string",    "provider_slug": "string"  }]

List Plugin Tools

GET
/v1/plugins/apps/{app_name}/tools

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

app_name*App Name

Query Parameters

provider_slug?Provider Slug

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/plugins/apps/string/tools'
Example Response
[  {    "app_name": "string",    "description": "string",    "name": "string",    "parameters": {},    "provider_slug": "string"  }]

Initiate Plugin Connect

POST
/v1/plugins/connect

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Request Body

application/json
  1. body
app_name*App Name

App to connect (e.g. hubspot)

Lengthlength <= 100
customer_id*Customer Id
Formatuuid
provider_slug*Provider Slug

Plugin provider slug (e.g. composio)

redirect_url*Redirect Url
Lengthlength <= 500

Response Body

Successful Response

application/json
  1. response
auth_url*Auth Url
Example Request
curl -X POST 'https://example.com/v1/plugins/connect' \  -H 'Content-Type: application/json' \  -d '{  "app_name": "string",  "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",  "provider_slug": "string",  "redirect_url": "string"}'
Example Response
{  "auth_url": "string"}

List Plugin Connections

GET
/v1/plugins/connections

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Query Parameters

customer_id*Customer Id
Formatuuid

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/plugins/connections?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
[  {    "connection_type": "string",    "created_at": "2019-08-24T14:15:22Z",    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "plugin_entity_id": "string",    "plugin_provider": "string",    "provider": "string",    "status": "string"  }]

Delete Plugin Connection

DELETE
/v1/plugins/connections/{connection_id}

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

connection_id*Connection Id
Formatuuid

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

Example Request
curl -X DELETE 'https://example.com/v1/plugins/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty

List Plugin Providers

GET
/v1/plugins/providers

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Header Parameters

X-Api-Key?string|null

Response Body

Successful Response

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/v1/plugins/providers'
Example Response
[  {    "slug": "string"  }]