Post from SendPulse chatbots
Create or schedule a SolMarrow post from a SendPulse chatbot flow with the API request element and a personal API key. No code needed.
SendPulse chatbot flows can call other services. With the API request element, a flow can save a draft or schedule a post in SolMarrow, for example when a customer finishes a purchase or fills in a form.
Note: This is a setup guide, not an app to install. You need a SendPulse chatbot and a SolMarrow account. Personal API keys work on every plan.
Before you start
- In SolMarrow, open Settings, then the API keys tab, and click Create a key. Copy it and keep it secret, like a password. A key reaches one workspace.
- In SendPulse, save the key as a chatbot global variable, for example
SOLMARROW_KEY, so it isn't typed into every element.
Find your workspace and account ids
- In your flow, add an API request element.
- Set the method to GET and the URL to
https://app.solmarrow.com/api/v1/workspaces. - Add the header
Authorizationwith the valueBearer {{$SOLMARROW_KEY}}. - Click Test request. The answer lists your workspaces with their ids.
- Change the URL to
https://app.solmarrow.com/api/v1/workspaces/WORKSPACE_ID/accountsand test again to see your connected accounts and their ids.
Create a post
Add another API request element:
- Method: POST
- URL:
https://app.solmarrow.com/api/v1/workspaces/WORKSPACE_ID/posts - Headers:
Authorization: Bearer {{$SOLMARROW_KEY}}andContent-Type: application/json - Request body (JSON):
{"text": "Our new collection is live.", "account_ids": ["ACCOUNT_ID"], "schedule_at": "2026-11-12T09:00:00+06:00"}
Click Test request. SolMarrow answers with the new post, and it appears in your calendar.
| Field | What it does |
|---|---|
text | The post text. You can use your chatbot variables in it. |
account_ids | Accounts to post to, from the step above. |
schedule_at | When to publish: ISO 8601 with a time zone offset, at least 5 minutes from now. Leave it out to save a draft. |
publish_now | Use true instead of schedule_at to publish right away. |
media_ids | Optional. Media from your library, uploaded first. See The SolMarrow API. |
Tip: Add an
Idempotency-Key header with a value that is unique for each event, such as the order number. If SendPulse retries the request, SolMarrow returns the first post instead of making a second one.Good to know
- Posts follow the same rules as posts made in the dashboard, including the network limits.
- To stop a flow from posting, delete the key in Settings, API keys. It stops working at once.
- Every call and its answers are described on the Developer API page.
Still need help? Email support@solmarrow.com. A person reads every message and answers within 1 business day.