Make
There is no native Brainpercent Make app. Use the HTTP module against https://www.brainpercent.app/api/v1.
01What you need
- A write key from Developer settings.
- A project id from GET /projects.
02HTTP module
Method POST. URL https://www.brainpercent.app/api/v1/social/generate. Header Authorization Bearer. Body JSON. 0.6 credits per platform.
{
"source_url": "{{1.url}}",
"platforms": ["linkedin", "twitter"],
"source_type": "blog",
"project_id": "{{project_id}}"
}Next module: Sleep 15 seconds. Then HTTP GET https://www.brainpercent.app/api/v1/social/content/{{content_id}}. Repeat until status is ready or completed. Then you can POST /social/publish if a channel is connected.
Keys: Developer settings.