HydraCore
API by router

Plugins

List Plugin Apps

GET
/v1/plugins/apps
AuthorizationBearer <token>

In: header

Query Parameters

provider_slug?Provider Slug

Filter by provider slug

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/plugins/apps?provider_slug=string" \  -H "X-Api-Key: string"
[
  {
    "categories": [],
    "description": "",
    "key": "string",
    "logo": "",
    "name": "string",
    "provider_slug": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Plugin Tools

GET
/v1/plugins/apps/{app_name}/tools
AuthorizationBearer <token>

In: header

Path Parameters

app_nameApp Name

Query Parameters

provider_slug?Provider Slug

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/plugins/apps/string/tools?provider_slug=string" \  -H "X-Api-Key: string"
[
  {
    "app_name": "string",
    "description": "string",
    "name": "string",
    "parameters": {},
    "provider_slug": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Initiate Plugin Connect

POST
/v1/plugins/connect
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key
app_nameApp Name

App to connect (e.g. hubspot)

Lengthlength <= 100
customer_idCustomer Id
Formatuuid
provider_slugProvider Slug

Plugin provider slug (e.g. composio)

redirect_urlRedirect Url
Lengthlength <= 500

Response Body

curl -X POST "https://loading/v1/plugins/connect" \  -H "X-Api-Key: string" \  -H "Content-Type: application/json" \  -d '{    "app_name": "string",    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",    "provider_slug": "string",    "redirect_url": "string"  }'
{
  "auth_url": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Plugin Connections

GET
/v1/plugins/connections
AuthorizationBearer <token>

In: header

Query Parameters

customer_idCustomer Id
Formatuuid

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/plugins/connections?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "X-Api-Key: string"
[
  {
    "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"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Delete Plugin Connection

DELETE
/v1/plugins/connections/{connection_id}
AuthorizationBearer <token>

In: header

Path Parameters

connection_idConnection Id
Formatuuid

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X DELETE "https://loading/v1/plugins/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "X-Api-Key: string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

List Plugin Providers

GET
/v1/plugins/providers
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/plugins/providers" \  -H "X-Api-Key: string"
[
  {
    "slug": "string"
  }
]
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}