Prerequisites
Before you begin, make sure you have:- An OutX account (sign up at outx.ai)
- The OutX Chrome extension installed and active
- Your API key from mentions.outx.ai/api-doc
End-to-End Walkthrough
Get Your API Key
- Log in to your OutX account
- Go to mentions.outx.ai/api-doc
- Click “Reveal API Key”
- Copy your API key
Install the Chrome Extension
Install the OutX Chrome extension and log in with your OutX account. The extension will automatically maintain a browser session that the API uses to execute tasks.
Fetch a LinkedIn Profile
Send a Response:
POST request to create a profile fetch task. You will receive an api_agent_task_id that you use to check for results.Poll for Results
The task is now queued. Poll the task status endpoint until the status changes from Pending response:
pending to completed.Complete Working Example
Here is a single, copy-paste-ready script that performs the entire flow:Next Steps
Fetch Profile
Full endpoint reference for profile fetching
Fetch Posts
Retrieve posts from LinkedIn profiles
Like Post
Automate liking LinkedIn posts
Comment on Post
Post comments programmatically
Frequently Asked Questions
Q: How long does a profile fetch task take to complete? Usually seconds to a few minutes, depending on when the Chrome extension picks up the task. The extension checks for new tasks on a regular schedule. Most tasks complete within 30 seconds under normal conditions.Q: How often should I poll for task status? Every 5 seconds is recommended. Set a timeout of 2-3 minutes to avoid polling indefinitely. The example code on this page uses 30 attempts with a 5-second delay, which provides a 2.5-minute window for task completion.

