GET
/
api
/
v2
/
integration-schema
/
:slug
/
actions
Get Actions for an Application
curl --request GET \
  --url https://api.gocobalt.io/api/v2/integration-schema/:slug/actions \
  --header 'Authorization: <authorization>' \
  --header 'linked_account_id: <linked_account_id>' \
  --header 'x-api-key: <api-key>'
[
    {
        "name": "HTTP Request",
        "action_id": "httprequest",
        "description": "Send an HTTP request to interact with the application's API. The action automatically handles authentication, so the end user does not need to include authentication-related fields such as tokens, API keys, or authentication headers in the request payload , keep base_url unset assume the Library ALWAYS set the base_url automatically internally , here are format of url_path /v1/some_endpoint"
    },
    {
        "name": "Create Contact",
        "action_id": "create_contact",
        "description": "Creating a contact in Hubspot"
    },
    {
        "name": "Create Task",
        "action_id": "create_task",
        "description": "Creating a contact in Hubspot"
    },
    {
        "name": "Create Company",
        "action_id": "create_company",
        "description": "Creating a Company in Hubspot"
    },
    {
        "name": "Create Deal",
        "action_id": "create_deal",
        "description": "Creating a Deal in Hubspot"
    },
    {
        "name": "Update Contact",
        "action_id": "update_contact",
        "description": "Updating a contact in Hubspot"
    },
    {
        "name": "Delete Contact",
        "action_id": "delete_contact",
        "description": "Deleting a contact in Hubspot"
    },
    {
        "name": "Get Contact",
        "action_id": "get_contact",
        "description": "Get all contacts."
    },
    {
        "name": "Get Contact By Id",
        "action_id": "get_contact_by_id",
        "description": "get a contact by id"
    },
    {
        "name": "Search Contact",
        "action_id": "search_contacts",
        "description": "This action is used to search for a set of contacts matching a criteria"
    }
]

This API retrieves all available actions for a specific integration application using its slug identifier.

Request description

This API supports two authentication methods. You can use either Session Token authentication OR the combination of API key and linked account ID.

Authentication Option 1: Session Token

Authorization
string
required

Bearer token using your session token for authentication

Format: Bearer YOUR_SESSION_TOKEN

Authentication Option 2: API Key + Linked Account

x-api-key
string
required

Your Cobalt API key

linked_account_id
string
required

The unique identifier for the linked account

Path Parameters

slug
string
required

The unique identifier for the integration application (e.g., “hubspot”, “salesforce”)

Response description

actions
array

Array of action objects available for the integration

[
    {
        "name": "HTTP Request",
        "action_id": "httprequest",
        "description": "Send an HTTP request to interact with the application's API. The action automatically handles authentication, so the end user does not need to include authentication-related fields such as tokens, API keys, or authentication headers in the request payload , keep base_url unset assume the Library ALWAYS set the base_url automatically internally , here are format of url_path /v1/some_endpoint"
    },
    {
        "name": "Create Contact",
        "action_id": "create_contact",
        "description": "Creating a contact in Hubspot"
    },
    {
        "name": "Create Task",
        "action_id": "create_task",
        "description": "Creating a contact in Hubspot"
    },
    {
        "name": "Create Company",
        "action_id": "create_company",
        "description": "Creating a Company in Hubspot"
    },
    {
        "name": "Create Deal",
        "action_id": "create_deal",
        "description": "Creating a Deal in Hubspot"
    },
    {
        "name": "Update Contact",
        "action_id": "update_contact",
        "description": "Updating a contact in Hubspot"
    },
    {
        "name": "Delete Contact",
        "action_id": "delete_contact",
        "description": "Deleting a contact in Hubspot"
    },
    {
        "name": "Get Contact",
        "action_id": "get_contact",
        "description": "Get all contacts."
    },
    {
        "name": "Get Contact By Id",
        "action_id": "get_contact_by_id",
        "description": "get a contact by id"
    },
    {
        "name": "Search Contact",
        "action_id": "search_contacts",
        "description": "This action is used to search for a set of contacts matching a criteria"
    }
]