Integrate WhatsApp, Telegram, Facebook, Instagram, and LinkedIn automation via JSON over HTTPS.
Authenticate requests using your account's secretToken found on your dashboard card. Send JSON bodies with Content-Type: application/json.
Base URL: https://api.supergreen.cc
n8n Cloud: Search Supergreen directly in the node picker (+).
Self-hosted: Settings → Community Nodes → Install n8n-nodes-supergreen.
n8n-nodes-supergreen
Copy JSON and press Ctrl+V / Cmd+V on your n8n canvas:
View GitHub Repository →Import ready scenario blueprints into Make.com via the More (...) → Import Blueprint toolbar menu:
Use Webhooks by Zapier (Catch Hook for inbound triggers, Custom Request POST to https://api.supergreen.cc/ for outbound actions):
{"endpoint": "sendMessage","payload": {"token": "YOUR_SUPERGREEN_TOKEN","fromNumber": "YOUR_PHONE","toNumber": "15551234567@c.us","message": "Hello from Zapier!"}}
const API_BASE = 'https://api.supergreen.cc';const YOUR_TOKEN = 'your-secret-token-here';const YOUR_PHONE = 'your-whatsapp-number';async function sendMessage(toNumber, message) {const response = await fetch(API_BASE, {method: 'POST',headers: { 'Content-Type': 'application/json' },body: JSON.stringify({endpoint: 'sendMessage',payload: {fromNumber: YOUR_PHONE,toNumber,message,linkPreview: false,token: YOUR_TOKEN,},}),});return response.json();}sendMessage('15551234567@c.us', 'Hello from Node.js!');
Supergreen sends signed POST requests (header x-supergreen-signature: sha256=<hmac-sha256-hex> signed with your secretToken) on message and status events (message, edit, delete, reaction, vote, participant_joined, participant_left, connected, disconnected, banned):
{"event": "message","network": "whatsapp","phoneNumber": "15551234567","messageId": "3EB0123456789ABCDEF","fromMe": false,"chat": {"id": "972509876543@c.us","username": "John Doe","title": "Optional Group Title"},"author": {"id": "972509876543@c.us","username": "John Doe"},"text": "Hello! This is a message from a user.","time": 1703251200000}
Connection lifecycle webhooks fire after a 30-second reconnect grace period so brief restarts don't trigger false alerts:
{"event": "disconnected","network": "whatsapp","phoneNumber": "15551234567","chat": {"id": "15551234567"},"author": {"id": "15551234567"},"text": "","time": 1703251200000}
Pass-through retention: Supergreen does not maintain a central message archive. Media webhook payloads include temporary 7-day signed fileUri links (auto-deleted after expiry), and getMessages reads only from the active line's isolated 7-day sync buffer — store webhook events on your own server if you need permanent history.
https://api.supergreen.cc/sendMessageSend a text message to any WhatsApp number or group.
fromNumberstringrequiredtoNumberstringrequiredmessagestringrequiredlinkPreviewbooleanrequiredquotedMessageIdstringtokenstringrequired{"fromNumber": "15551234567","toNumber": "15559876543@c.us","message": "Hello! This is a test message.","linkPreview": false,"token": "your-secret-token"}
{"messageId": "3EB0123456789ABCDEF"}
https://api.supergreen.cc/sendMediaSend images, videos, or documents with optional caption to any WhatsApp number or group.
fromNumberstringrequiredtoNumberstringrequiredbase64stringurlstringtypestringrequiredmimeTypestringfilenamestringcaptionstringtokenstringrequired{"fromNumber": "15551234567","toNumber": "15559876543@c.us","base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==","type": "image","caption": "Check out this image!","token": "your-secret-token"}
{"messageId": "3EB0987654321FEDCBA"}
https://api.supergreen.cc/sendContactSend a contact card (vCard) to any WhatsApp number or group.
fromNumberstringrequiredtoNumberstringrequiredcontactIdstringrequirednamestringrequiredtokenstringrequired{"fromNumber": "15551234567","toNumber": "15559876543@c.us","contactId": "15550001111@c.us","name": "Jane Doe","token": "your-secret-token"}
{"messageId": "3EB0CONTACT56789ABCDEF"}
https://api.supergreen.cc/sendPollSend a poll to a WhatsApp group.
fromNumberstringrequiredtoNumberstringrequirednamestringrequiredchoicesarrayrequiredselectableCountnumbertokenstringrequired{"fromNumber": "15551234567","toNumber": "120363123456789012@g.us","name": "What's your favorite color?","choices": ["Red","Blue","Green"],"token": "your-secret-token"}
{"messageId": "3EB0POLL56789ABCDEF"}
https://api.supergreen.cc/editMessageEdit a previously sent message.
fromNumberstringrequiredmessageIdstringrequirednewTextstringrequiredtokenstringrequired{"fromNumber": "15551234567","messageId": "3EB0123456789ABCDEF","newText": "Updated message text","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/deleteMessageDelete a previously sent message.
fromNumberstringrequiredchatIdstringrequiredmessageIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","chatId": "15551234567@c.us","messageId": "3EB0123456789ABCDEF","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/sendReactionSend a reaction emoji to a message.
fromNumberstringrequiredmessageIdstringrequiredreactionstringrequiredtokenstringrequired{"fromNumber": "15551234567","messageId": "3EB0123456789ABCDEF","reaction": "👍","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/sendTypingIndicationShow the 'typing...' indicator in a chat to make your bot feel more human.
fromNumberstringrequiredchatIdstringrequireddurationMsnumbertokenstringrequired{"fromNumber": "15551234567","chatId": "15559876543@c.us","durationMs": 3000,"token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/stopTypingIndicationStop showing the 'typing...' indicator in a chat.
fromNumberstringrequiredchatIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","chatId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/getMessagesRetrieve recent messages from a WhatsApp conversation or group via the active line's isolated 7-day sync buffer (Supergreen is pass-through infrastructure with no central message archive; use webhooks for permanent storage).
fromNumberstringrequiredchatIdstringrequiredcountintegeridstringfromMebooleandirectionstringtokenstringrequired{"fromNumber": "15551234567","chatId": "15559876543@c.us","count": 20,"token": "your-secret-token"}
{"success": true,"messages": [{"id": "false_15559876543@c.us_3EB0123456789ABCDEF","chatId": "15559876543@c.us","authorId": "15559876543@c.us","authorName": "John Doe","text": "Hey, are we still on for today?","time": 1703251200000,"fromMe": false,"type": "chat"}]}
https://api.supergreen.cc/getGroupsRetrieve a list of WhatsApp groups with admin status for each group.
fromNumberstringrequireduseCachebooleantokenstringrequired{"fromNumber": "15551234567","token": "your-secret-token"}
{"groups": [{"id": "120363123456789012@g.us","name": "My Cool Group","isAdmin": true},{"id": "120363987654321098@g.us","name": "Another Group","isAdmin": false}]}
https://api.supergreen.cc/addUserToWhatsAppGroupAdd a user to a WhatsApp group where you are an admin.
groupIdstringrequireduserIdstringrequiredfromNumberstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","userId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/removeUserFromWhatsAppGroupRemove a user from a WhatsApp group where you are an admin.
groupIdstringrequireduserIdstringrequiredfromNumberstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","userId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/getCommonWhatsappGroupsGet a list of WhatsApp groups that both you and another user are members of.
fromNumberstringrequireduserIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","userId": "15559876543@c.us","token": "your-secret-token"}
{"groups": [{"id": "120363123456789012@g.us","name": "Shared Group"}]}
https://api.supergreen.cc/getWhatsappJoinRequestsGet pending join requests for a group where you are an admin.
fromNumberstringrequiredgroupIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","token": "your-secret-token"}
{"requests": [{"requesterId": "15559876543@c.us","addedById": null,"parentGroupId": null,"method": "non_admin_add","timestamp": 1703251200000}]}
https://api.supergreen.cc/approveWhatsappJoinRequestsApprove one or more pending join requests for a group.
fromNumberstringrequiredgroupIdstringrequiredrequesterIdsarray | nulltokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","requesterIds": ["15559876543@c.us"],"token": "your-secret-token"}
{"results": [{"requesterId": "15559876543@c.us","error": null,"message": "Approved successfully"}]}
https://api.supergreen.cc/rejectWhatsappJoinRequestsReject one or more pending join requests for a group.
fromNumberstringrequiredgroupIdstringrequiredrequesterIdsarrayrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","requesterIds": ["15559876543@c.us"],"token": "your-secret-token"}
{"results": [{"requesterId": "15559876543@c.us","error": null,"message": "Rejected successfully"}]}
https://api.supergreen.cc/getGroupMembersGet all members of a WhatsApp group, including their admin status. Member IDs may be LID format (e.g., '12345@lid') instead of phone numbers depending on the account's addressing mode. Use the convertLidToNumber endpoint to resolve LIDs to phone numbers.
fromNumberstringrequiredgroupIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","token": "your-secret-token"}
{"members": [{"id": "15559876543@c.us","isAdmin": true,"isSuperAdmin": true},{"id": "15551111111@c.us","isAdmin": false,"isSuperAdmin": false}]}
https://api.supergreen.cc/getWhatsappGroupDetailsGet details about a WhatsApp group using its invite link, including group name, description, size, and participants.
fromNumberstringrequiredgroupLinkstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupLink": "https://chat.whatsapp.com/AbCdEfGhIjK","token": "your-secret-token"}
{"success": true,"id": "120363123456789012@g.us","subject": "My Group","desc": "Group description","size": 42,"participants": [{"id": "15559876543@c.us","isAdmin": true,"isSuperAdmin": false}]}
https://api.supergreen.cc/getGroupInviteLinkGet the invite link for a WhatsApp group.
fromNumberstringrequiredgroupIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupId": "120363123456789012@g.us","token": "your-secret-token"}
{"inviteLink": null}
https://api.supergreen.cc/joinGroupByInviteLinkJoin a WhatsApp group using its invite link.
fromNumberstringrequiredgroupLinkstringrequiredtokenstringrequired{"fromNumber": "15551234567","groupLink": "https://chat.whatsapp.com/AbCdEfGhIjK","token": "your-secret-token"}
{"status": "joined","chatId": "120363123456789012@g.us"}
https://api.supergreen.cc/blockContactBlock a WhatsApp contact.
fromNumberstringrequiredcontactIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","contactId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/reportContactReport a contact/sender to WhatsApp as spam.
fromNumberstringrequiredcontactIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","contactId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/unblockContactUnblock a previously blocked WhatsApp contact.
fromNumberstringrequiredcontactIdstringrequiredtokenstringrequired{"fromNumber": "15551234567","contactId": "15559876543@c.us","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/convertLidToNumberConvert a WhatsApp LID (Linked ID) to a phone number. Some accounts use LID addressing mode where user IDs appear as '12345@lid' instead of phone numbers. This endpoint resolves them.
fromNumberstringrequiredlidstringrequiredtokenstringrequired{"fromNumber": "15551234567","lid": "119846817792023@lid","token": "your-secret-token"}
{"number": "15559876543@c.us"}
https://api.supergreen.cc/checkWhatsappNumberCheck whether a phone number has an active WhatsApp account.
fromNumberstringrequiredtargetNumberstringrequiredtokenstringrequired{"fromNumber": "15551234567","targetNumber": "15559876543","token": "your-secret-token"}
{"success": true,"exists": true,"jid": "15559876543@c.us","number": "15559876543"}
https://api.supergreen.cc/setWebhookSet or update the webhook URL to receive incoming messages and events.
phoneNumberstringrequiredurlstringnullrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/webhook","token": "your-secret-token"}
{}
https://api.supergreen.cc/addWebhookAdd an additional webhook URL to receive incoming messages and events. Each account can have multiple webhook URLs — events will be sent to all of them.
phoneNumberstringrequiredurlstringrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/webhook","token": "your-secret-token"}
{}
https://api.supergreen.cc/removeWebhookRemove a webhook URL from the account. If the URL matches the legacy webhook field, that is also cleared.
phoneNumberstringrequiredurlstringrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/webhook","token": "your-secret-token"}
{}
https://api.supergreen.cc/reconnectManually trigger a reconnection of your WhatsApp account. The login method (QR code vs pairing code) is determined by the account's preferCodeLogin setting — use setLoginMethod to change it before reconnecting.
numberstringrequiredtokenstringrequired{"number": "15551234567","token": "your-secret-token"}
{}
https://api.supergreen.cc/setLoginMethodSet whether the account should use a pairing code or QR code when reconnecting. When preferCodeLogin is true, the next reconnect will generate a pairing code instead of a QR code.
phoneNumberstringrequiredpreferCodeLoginbooleanrequiredtokenstringrequired{"phoneNumber": "15551234567","preferCodeLogin": true,"token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/clearCredentialsClear all stored credentials for your WhatsApp account. Use this to reset authentication.
phoneNumberstringrequiredtokenstringrequired{"phoneNumber": "15551234567","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/changeWhatsappAccountNameChange the display name of your WhatsApp account.
phoneNumberstringrequirednamestringrequiredtokenstringrequired{"phoneNumber": "15551234567","name": "My Business Bot","token": "your-secret-token"}
{}
https://api.supergreen.cc/changeWhatsappAccountAvatarChange the profile picture of your WhatsApp account.
phoneNumberstringrequiredimageBase64stringrequiredtokenstringrequired{"phoneNumber": "15551234567","imageBase64": "/9j/4AAQSkZJRg...","token": "your-secret-token"}
{}
https://api.supergreen.cc/changeWhatsappAccountBioChange the bio/about text of your WhatsApp account.
phoneNumberstringrequiredbiostringrequiredtokenstringrequired{"phoneNumber": "15551234567","bio": "Powered by Supergreen","token": "your-secret-token"}
{}
https://api.supergreen.cc/changeWhatsappPrivacySettingsChange the privacy settings of your WhatsApp account.
phoneNumberstringrequiredcategorystringrequiredvaluestringrequiredtokenstringrequired{"phoneNumber": "15551234567","category": "about","value": "all","token": "your-secret-token"}
{}
https://api.supergreen.cc/submitTelegramCoderefreshTokenstringrequiredphoneNumberstringrequiredcodestringrequired{"phoneNumber": "15551234567","code": "12345","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/sendTelegramMessageSend a text message via Telegram.
phoneNumberstringrequiredchatIdstringrequiredtextstringrequiredtokenstringrequired{"phoneNumber": "15551234567","chatId": "@example_channel","text": "Hello from Supergreen Telegram!","token": "your-secret-token"}
{"success": true,"messageId": "12345"}
https://api.supergreen.cc/getTelegramGroupsRetrieve a list of Telegram groups and channels.
phoneNumberstringrequiredtokenstringrequired{"phoneNumber": "15551234567","token": "your-secret-token"}
{"success": true,"warning": "Group list is computed live and may be incomplete for large accounts.","cacheMaxAgeSeconds": 0,"groups": [{"id": "-1001234567890","name": "My Telegram Group","isAdmin": true}]}
https://api.supergreen.cc/joinTelegramGroupJoin a Telegram group or channel by username.
phoneNumberstringrequiredgroupUsernamestringrequiredtokenstringrequired{"phoneNumber": "15551234567","groupUsername": "example_channel","token": "your-secret-token"}
{"success": true,"status": "joined","chatId": "example_channel"}
https://api.supergreen.cc/setTelegramWebhookSet or update the webhook URL for a Telegram account.
phoneNumberstringrequiredurlstringnullrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/telegram-webhook","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/addTelegramWebhookAdd an additional webhook URL for a Telegram account.
phoneNumberstringrequiredurlstringrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/telegram-webhook","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/removeTelegramWebhookRemove a webhook URL from a Telegram account.
phoneNumberstringrequiredurlstringrequiredtokenstringrequired{"phoneNumber": "15551234567","url": "https://your-server.com/telegram-webhook","token": "your-secret-token"}
{"success": true}
https://api.supergreen.cc/addAccountAdminShare a line/account with a teammate by adding their email as a co-admin (+ Add Admin). Co-admins can view and operate the shared line from their own Supergreen login without consuming an extra billing slot. The invited email must have signed in at https://supergreen.cc at least once first.
refreshTokenstringrequiredaccountIdstringrequiredemailstringrequiredaccountTypestring{"refreshToken": "your-session-refresh-token","accountId": "142ed1c4-bc61-4a65-acab-3d7e69b3292d","email": "teammate@example.com","accountType": "whatsapp"}
{"success": true}
https://api.supergreen.cc/removeAccountAdminRemove a co-admin from a shared line/account. Neither the billing owner (billingUser) nor the last remaining admin can be removed.
refreshTokenstringrequiredaccountIdstringrequiredadminIdstringemailstringaccountTypestring{"refreshToken": "your-session-refresh-token","accountId": "142ed1c4-bc61-4a65-acab-3d7e69b3292d","email": "teammate@example.com","accountType": "whatsapp"}
{"success": true}
https://api.supergreen.cc/addFbGrouprefreshTokenstringrequiredfbAccountIdstringrequiredgroupIdstringrequirednamestring{"refreshToken": "your-user-session-token","fbAccountId": "fb-account-12345","groupId": "123456789","name": "Tech Enthusiasts"}
{"success": true}
https://api.supergreen.cc/removeFbGrouprefreshTokenstringrequiredfbGroupIdstringrequired{"refreshToken": "your-user-session-token","fbGroupId": "fb-group-12345"}
{"success": true}
https://api.supergreen.cc/commentOnFbPosttokenstringrefreshTokenstringfbAccountIdstringgroupIdstringrequiredpostIdstringrequiredtextstringrequired{"token": "your-secret-token","fbAccountId": "fb-account-12345","groupId": "123456789","postId": "987654321","text": "Great post!"}
{"success": true}
https://api.supergreen.cc/postToFbGrouptokenstringrefreshTokenstringfbAccountIdstringgroupIdstringrequiredpoststringtextstringasyncboolean{"token": "your-secret-token","groupId": "123456789","post": "Hello Facebook group! This is an automated post."}
{"success": true}
https://api.supergreen.cc/getFbGroupstokenstringrefreshTokenstringfbAccountIdstringrefreshbooleanasyncboolean{"token": "your-secret-token","refresh": false}
{"success": true,"groups": [{"id": "fb-group-1","groupId": "123456789","name": "Tech Enthusiasts","lastScrapedAt": 1700000000000}]}
https://api.supergreen.cc/getFbOperationtokenstringrefreshTokenstringoperationIdstringrequired{"token": "your-secret-token","operationId": "op_fb_123456789"}
{"success": true,"operationId": "op_fb_123456789","status": "completed","result": {"success": true}}
https://api.supergreen.cc/sendFbDirectMessageSend a direct message on Facebook Messenger using the connected Facebook account.
tokenstringrefreshTokenstringfbAccountIdstringrecipientUserIdstringrequiredtextstringrequiredasyncboolean{"token": "your-secret-token","recipientUserId": "100012345678901","text": "Hello from Supergreen!"}
{"success": true}
https://api.supergreen.cc/getFbDirectMessagesRead recent Facebook Messenger inbox conversations, or read messages from a specific Messenger thread/user.
tokenstringrefreshTokenstringfbAccountIdstringconversationIdstringrecipientUserIdstringlimitnumberasyncboolean{"token": "your-secret-token","conversationId": "100012345678901","limit": 20}
{"success": true,"threadId": "100012345678901","participantName": "Jane Doe","messages": [{"senderName": "Jane Doe","text": "Hi! Is this still available?","time": "10:42 AM","isFromMe": false},{"senderName": "You","text": "Yes, happy to share details!","time": "10:45 AM","isFromMe": true}]}
https://api.supergreen.cc/scanFbMarketplacetokenstringrefreshTokenstringfbAccountIdstringquerystringrequiredminPricenumbermaxPricenumberlimitnumbermaxScrollsnumber{"token": "your-secret-token","query": "laptops","minPrice": 300,"maxPrice": 1500}
{"success": true,"listings": [{"itemId": "1360403449376994","title": "Lenovo ThinkPad T14 Gen 2","price": "$500","location": "San Francisco, CA","itemUrl": "https://www.facebook.com/marketplace/item/1360403449376994/","imageUrl": "https://scontent-atl3-3.xx.fbcdn.net/v/..."}]}
https://api.supergreen.cc/addLinkedInConnectiontokenstringrefreshTokenstringlinkedInAccountIdstringprofileUrlstringrequiredmessagestring{"token": "your-secret-token","profileUrl": "https://www.linkedin.com/in/satyanadella","message": "Hi Satya, I would love to connect!"}
{"success": true,"status": "invitation_sent","connected": false}
https://api.supergreen.cc/searchLinkedInPeopletokenstringrefreshTokenstringlinkedInAccountIdstringquerystringrequiredlimitnumberpagenumber{"token": "your-secret-token","query": "software engineer google","limit": 10}
{"success": true,"results": [{"name": "Jane Doe","headline": "Staff Software Engineer at Google","location": "San Francisco Bay Area","profileUrl": "https://www.linkedin.com/in/janedoe","connectionDegree": "2nd","actionText": "Connect"}]}
https://api.supergreen.cc/sendLinkedInMessagetokenstringrefreshTokenstringlinkedInAccountIdstringprofileUrlstringconversationIdstringtextstringrequired{"token": "your-secret-token","profileUrl": "https://www.linkedin.com/in/janedoe","text": "Hi Jane, great connecting with you!"}
{"success": true,"sent": true}
https://api.supergreen.cc/getLinkedInMessagestokenstringrefreshTokenstringlinkedInAccountIdstringconversationIdstringprofileUrlstringlimitnumber{"token": "your-secret-token","limit": 20}
{"success": true,"conversations": [{"threadId": "2-YmZmNDkyMGUt...","participantName": "Jane Doe","participantProfileUrl": "https://www.linkedin.com/in/janedoe","lastMessage": "Sounds good, talk soon!","lastMessageTime": "2h","unread": false}]}
https://api.supergreen.cc/getLinkedInProfiletokenstringrefreshTokenstringlinkedInAccountIdstringprofileUrlstringrequired{"token": "your-secret-token","profileUrl": "https://www.linkedin.com/in/satyanadella"}
{"success": true,"profile": {"name": "Satya Nadella","headline": "Chairman and CEO at Microsoft","about": "Leading Microsoft's mission to empower every person...","location": "Greater Seattle Area","connectionDegree": "2nd","followerCount": "10M+ followers","profileUrl": "https://www.linkedin.com/in/satyanadella"}}
https://api.supergreen.cc/createLinkedInPostCreate and publish a new post on your LinkedIn feed.
tokenstringrefreshTokenstringlinkedInAccountIdstringtextstringrequiredvisibilitystring{"token": "your-secret-token","text": "Excited to share our latest product update!","visibility": "ANYONE"}
{"success": true,"posted": true,"postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7123456789012345678/"}
https://api.supergreen.cc/sendInstagramDirectMessageSend a direct message on Instagram to a username or existing DM thread.
tokenstringrefreshTokenstringinstagramAccountIdstringusernamestringthreadIdstringconversationIdstringtextstringrequired{"token": "your-secret-token","username": "natgeo","text": "Hello from Supergreen!"}
{"success": true,"sent": true,"threadId": "340282366841710300949128123456789012345"}
https://api.supergreen.cc/getInstagramDirectMessagesList recent Instagram DM inbox conversations, or read messages from a specific DM thread or user.
tokenstringrefreshTokenstringinstagramAccountIdstringthreadIdstringconversationIdstringusernamestringlimitinteger{"token": "your-secret-token","limit": 20}
{"success": true,"conversations": [{"threadId": "340282366841710300949128123456789012345","participantName": "Jane Doe","participantUsername": "janedoe","threadUrl": "https://www.instagram.com/direct/t/340282366841710300949128123456789012345/","lastMessage": "Sounds good, talk soon!","lastMessageTime": "2026-11-19T12:00:00.000Z","isFromMe": false,"unread": false}]}
https://api.supergreen.cc/createInstagramPostPublish a new photo or video post to your Instagram feed.
tokenstringrefreshTokenstringinstagramAccountIdstringmediaUrlstringmediaBase64stringmimeTypestringfilenamestringcaptionstring{"token": "your-secret-token","mediaUrl": "https://example.com/photo.jpg","caption": "Behind the scenes at Supergreen!"}
{"success": true,"posted": true,"postUrl": "https://www.instagram.com/p/Cx123456789/"}
https://api.supergreen.cc/createInstagramStoryPublish a photo to your Instagram Story.
tokenstringrefreshTokenstringinstagramAccountIdstringmediaUrlstringmediaBase64stringmimeTypestringfilenamestring{"token": "your-secret-token","mediaUrl": "https://example.com/story.jpg"}
{"success": true,"posted": true}
Successful calls return 200 OK. Errors return JSON details alongside standard HTTP status codes (400, 401, 404, 500):
{"error": "Authentication failed","message": "Invalid token provided"}