Authenticate calls to the Surveys API with your GHL API key and OAuth token. Use secure storage and rotate credentials regularly.
Configure Linq to securely store and send your GHL access token. Use OAuth2 where available and limit scopes to socialplanner/post.write.
POST /social-media-posting/:locationId/posts; PUT /social-media-posting/:locationId/posts/:id; DELETE /social-media-posting/:locationId/posts/:id; PATCH /social-media-posting/:locationId/posts/:id
Trigger: when a new survey response is recorded, generate and publish a social post.
Actions: fetch latest responses, map fields, compose post content, publish via endpoint 1, handle errors.
POST /social-media-posting/:locationId/posts
locationId, content, post_status, schedule_time
Trigger: after survey completion, determine optimal posting times and schedule.
Actions: compute times, set scheduled_time, call endpoint 4 to update, or create if necessary.
PATCH /social-media-posting/:locationId/posts/:id
locationId, id, scheduled_time, content
Trigger: post content needs updating or removal due to new survey data.
Actions: update content via PUT, or delete via DELETE, with id and locationId.
PUT /social-media-posting/:locationId/posts/:id; DELETE /social-media-posting/:locationId/posts/:id
locationId, id, content
Drag-and-drop workflow builder for automation
No-code data routing from surveys to social posts
Scalability across multiple locations without coding
This section defines essential terms and processes used in the integration.
A URL and HTTP method used to interact with a resource in an API.
The process of verifying identity and granting access tokens for API calls.
A callback mechanism that notifies your app about events in real time.
A piece of content published to a social platform.
Create an auto-schedule calendar that maps survey checkpoints to posting times.
Dynamically tailor post copy based on survey responses.
Publish posts across multiple locations in a single workflow.
Obtain your GHL API key and authorize Linq to access the Surveys API.
Set up the endpoint mappings in Linq to match the four core endpoints shown earlier.
Run tests, verify data flows, and switch to live posting.
The Surveys API lets you read and write survey data and publish social content via the Linq connector. It supports typical REST endpoints and uses OAuth tokens for secure access. With no-code tooling, you can map survey fields to post content and schedule postings without writing code.
You can configure Linq with a no-code setup using prebuilt actions and triggers. If you need custom logic, you can still reference the endpoint paths and parameters shown in this guide.
Key endpoints include creating, updating, deleting, and patching posts at location-scoped endpoints. You’ll publish content to social channels using the POST, PUT, PATCH, and DELETE methods.
Authenticate via your GHL API key and OAuth token. Store credentials securely, rotate keys regularly, and limit scopes to socialplanner/post.write.
Yes. Endpoints allow scheduling and updating posts so you can plan content ahead of time.
Yes. The no-code workflow builder in Linq lets you create triggers and actions to connect Surveys API without writing code.
API rate limits vary by plan. Refer to your GHL account’s documentation for specific limits and best practices.
Due to high volume, we will be upgrading our server soon!
Complete Operations Catalog - 126 Actions & Triggers