Skip to main content

1. Get an API key

Open the test console and create a key, or call the API once you have one. Keys look like sk_... and are shown only once — store them securely.
All requests go to https://api.plugkit.co/v1 and require the header Authorization: Bearer sk_....

2. Make your first call

Check the key works by listing your profiles:
curl https://api.plugkit.co/v1/profiles \
  -H "Authorization: Bearer sk_your_key"

3. Connect an account

Start the OAuth flow to link an Instagram business account:
curl "https://api.plugkit.co/v1/connect/instagram?profileId=YOUR_PROFILE_ID" \
  -H "Authorization: Bearer sk_your_key"
You get back an authUrl — open it in a browser, approve, and the account is created. Full walkthrough in Connect Instagram.

4. Publish

curl -X POST https://api.plugkit.co/v1/posts \
  -H "Authorization: Bearer sk_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "profileId": "YOUR_PROFILE_ID",
    "content": "Hello from PlugKit 👋",
    "mediaUrls": ["https://example.com/photo.jpg"]
  }'

Explore the full API

Try every endpoint live in the API Reference playground.