Make.com

🚀 Using MarketingBlocks API in Your Workflow

✅ Step 1: Get Your Bearer Token

  1. Copy the generated token that begins with mab_...


✅ Step 2: Create Your Scenario

  1. Add a trigger (e.g., Webhook, Scheduler, or any event source).

  2. Add an HTTP module → Select Make a request.

  3. Fill in the request details:

  • Method: POST (or GET, depending on the endpoint)

  • URL: Example:

    • Create Post → https://app.marketingblocks.ai/api/v1/social-sparks/create-post

    • Get Channels → https://app.marketingblocks.ai/api/v1/social-sparks/get-channels

  • Headers:

    • Authorization: Bearer mab_xxxxxxxx

    • Content-Type: application/json

  • Body Type: Raw

  • Content Type: application/json

  • Body Content: Paste your JSON payload (for POST requests).


✅ Step 3: Run & Test

  1. Click Run Once (or Execute) to test the integration.

  2. If successful, you’ll see the API response.

  3. Save and activate the scenario to go live.


📘 Example: Fetching Channels

Method: GET URL:

https://app.marketingblocks.ai/api/v1/social-sparks/get-channels

Headers:

Authorization: Bearer mab_abc123xyz456...

Success Response:

{
  "channels": {
    "current_page": 1,
    "data": [
      {
        "channel_id": 254,
        "platform": "facebook",
        "account_name": "Jon Snow",
        "avatar": "https://example.com/avatar.jpg"
      }
    ],
    "total": 1
  },
  "status": true
}

✅ Rate Limiting Notice The API is limited to 100 requests per second per token. Avoid loops or large parallel runs that exceed this limit.

Last updated