Make

API endpoints related to our integration with Make

Getting Started

All of our API endpoints relating to our endpoints start with the same base URL:

https://api.countercyclical.io/v1

See the example in our API documentation above for more information

Authentication

An API key is required in order to authenticate successfully between Make & Countercyclical. Please visit our Integrations page on the platform to generate your Make-specific API key: https://dashboard.countercyclical.io/settings/workspace/integrations

This API is scoped purely to Make & cannot be used on any of Countercyclical's other publicly available API endpoints (otherwise a 401 Unauthorized response will be sent back)

Connecting Make & Countercyclical

GET /integrations/make/auth

Authenticate with Make on Countercyclical

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description

apiKey

string

Response

{
  "success": true,
  "emailAddress": "name@example.com",
  "activeWorkspace": "Workspace Name",
}

Triggers

Triggers are an event in Countercyclical (e.g., an Investment being created) that initiates a workflow in Make.

Learn more about Triggers in Make's Help Center

Investments

GET /integrations/make/triggers/investments

Kicks off a Scenario in Make based on an Investment created in your workspace.

Headers

Name
Value

Content-Type

application/json

Query Parameters

Name
Type
Description

apiKey

string

Response

Returns an array of Investments in your Workspace.

[
  {
    "id": "abc1234...",
    ...
  }
]

Actions

Actions in Make are a task that is performed as part of the workflow (e.g., creating an Investment in Countercyclical)

Learn more about Actions in Make's Help Center

Investments

Create a New Investment

POST /integrations/make/actions/investments

Creates a new Investment in your Countercyclical Workspace

Headers

Name
Value

Content-Type

application/json

Query Parameters

Name
Value

apiKey

Body

Name
Required
Type
Description

tickerSymbol

Yes

string

Response

Returns the Investments created from your Zapier Action.

[
  {
    "id": "abc1234...",
    ...
  }
]

Last updated