Zapier, Make and n8n
Step-by-step recipes for the three tools.
Before you start
Create an API key in SocialKuy under Brand → Integrations. For tools that only create drafts or posts for approval, a Contributor key is enough. Use a separate key for each tool, so one can be revoked without stopping the others.
Every recipe below sends an Idempotency-Key. Use a value that is unique for the thing you are posting, such as the row id of a spreadsheet or the id of the triggering record. When a tool retries a step, the same key returns the first answer instead of creating a second post.
Zapier
Create a post:
- Add an action Webhooks by Zapier → Custom Request.
- Method
POST, URLhttps://app.socialkuy.com/api/v1/posts. - Data: the JSON body from the posting guide, with fields mapped from the trigger.
- Headers:
Authorization=Bearer skuy_your_key,Content-Type=application/json,Idempotency-Key= the trigger's id.
Hear about posts:
- Start a Zap with Webhooks by Zapier → Catch Raw Hook and copy its URL.
- Add that URL as a webhook in SocialKuy, with the events you need.
- Use the next step to check the signature (Code by Zapier with the Node sample from the webhook guide) before acting on the event.
Make
- Add the module HTTP → Make a request.
- URL
https://app.socialkuy.com/api/v1/posts, methodPOST, body typeRaw, content typeJSON (application/json). - Headers
Authorization: Bearer skuy_your_keyandIdempotency-Keyfrom the trigger. - For uploads, first run a request to
https://app.socialkuy.com/api/v1/media/importswith the file's URL, then pollhttps://app.socialkuy.com/api/v1/media/imports/{id}andhttps://app.socialkuy.com/api/v1/media/{id}until the file isready.
To receive events, start a scenario with Webhooks → Custom webhook and add its address in SocialKuy.
n8n
- Add an HTTP Request node. Method
POST, URLhttps://app.socialkuy.com/api/v1/posts. - Authentication: Generic → Header Auth, name
Authorization, valueBearer skuy_your_key. - Send body as JSON; add the header
Idempotency-Keywith an expression such as{{ $json.id }}. - Turn on Retry On Fail. With the idempotency key, retries are safe.
To receive events, use a Webhook node with method POST and Raw Body on, add its production URL in SocialKuy, and check the signature in a Code node with the Node sample.
When something fails
Read error.code from the answer:
media_not_ready: wait and try again in a minute.quota_exceededorqueue_full: nothing was created; tell a person.rate_limited: waitRetry-Afterseconds.key_revoked,key_expiredorplan_required: a brand admin needs to make a new key or check the plan.