Add API for communities
T
Tim Martin
Add API endpoints to publish posts, comments, reactions, etc.
Use case for this is to create an import tool to migrate a community from one planform to GHL Communities.
Log In
N
Nathan Chittenden
i did notice the api they are calling to create posts. its not like they arent already using the api... just need to allow us access scope.
:authority: services.leadconnectorhq.com
:path: /communities/<LOCATIONIDHERE>/groups/<GROUPIDHERE>/channels/<CHANNELIDHERE>/post
accept: application/json, text/plain,
/
origin: <Client Portal URL HERE>
referer: <Client Portal URL HERE>
source: PORTAL_USER
Token-id: <TOKENHERE>
Request Payload:
{"locationId":"<LOCATIONIDHERE>","groupId":"<GROUPIDHERE>","channelId":"<CHANNELIDHERE>","title":"testing posting","content":"<p>testing posting</p>","mentions":[],"attachments":[],"createdBy":"<CONTACTIDHERE>","notifyAllGroupMembers":false}
J
Joe Adams
I agree with this!! If you look at the circle.so platform, they have API endpoints to acomplish similar tasks. What would be nice is if I could use make.com to migrate from a datastore, like airtable, into GHL communites. Course title, description, notes, video, etc, or to migrate from other community type apps. accomplish