TokPortal + Zapier
Trigger TikTok and Instagram campaigns from any app in your stack using Zapier and the TokPortal API. New row in Airtable? New file in Dropbox? New sale in Shopify? Automatically create accounts and schedule posts.
Connect TokPortal to Zapier
TokPortal uses a standard REST API with header-based authentication. In Zapier, use the Webhooks by Zapier action (available on paid plans).
Authentication setup
In every Webhooks action, add this custom header:
| Header | Value |
|---|---|
X-API-Key | tok_live_your_key_here |
Content-Type | application/json |
Example Zap: Google Sheets → TikTok campaign
Trigger: New row added to a Google Sheet Action: Create a TokPortal bundle and configure a video
Step 1: Trigger
Set up a Google Sheets trigger that fires when a new row is added. Your sheet might have columns: video_url, description, country, publish_date.
Step 2: Create bundle (Webhooks action)
Method: POST
URL: https://app.tokportal.com/api/ext/bundles
Headers: X-API-Key: tok_live_your_key
Body:
{
"bundle_type": "account_and_videos",
"platform": "tiktok",
"country": "{{country}}",
"videos_quantity": 1
}
Step 3: Configure video (Webhooks action)
Method: PUT
URL: https://app.tokportal.com/api/ext/bundles/{{bundle_id}}/videos/1
Headers: X-API-Key: tok_live_your_key
Body:
{
"video_type": "video",
"description": "{{description}}",
"target_publish_date": "{{publish_date}}",
"video_url": "{{video_url}}"
}
Step 4: Publish (Webhooks action)
Method: POST
URL: https://app.tokportal.com/api/ext/bundles/{{bundle_id}}/publish
Headers: X-API-Key: tok_live_your_key
More trigger ideas
| Trigger App | Use Case |
|---|---|
| Shopify | New product → create TikTok promo video campaign |
| Airtable | New content brief → schedule across markets |
| Dropbox | New video file → auto-upload and schedule |
| Slack | Slash command → create a campaign on demand |
| Calendly | Meeting booked → send a personalized TikTok follow-up |
Also works with Make (Integromat)
The same HTTP module approach works in Make. Use the HTTP module with the same endpoints and headers.
What's next
- API Overview — Full endpoint reference
- Getting Started — Your first API call
- n8n Integration — Alternative no-code workflow
- CSV Import — Bulk import from spreadsheets