Request Body
The unique identifier of the post to comment on. This is the
id field from the Posts API response.Email address of the user who will comment on the post.
- For user actor type: The user’s email
- For company actor type: The admin user’s email who manages the company page
The text content of the comment. Cannot be empty or whitespace-only.Tips for effective comments:
- Be genuine and add value to the conversation
- Keep it concise but meaningful
- Ask questions to encourage engagement
- Avoid generic responses like “Great post!”
Who is posting the comment. Options:
user- Comment as an individual usercompany- Comment on behalf of a company page
Required when
actor_type is companyThe exact company name/title as it appears on LinkedIn. This is used to identify which company page should post the comment.Response Fields
Whether the comment task was created successfully
Human-readable message about the operation
Unique identifier for the created task. Use this to track the task status.
How It Works
1
Task Creation
When you call the Comment API, a task is created and queued for processing
2
Validation
The system validates:
- Post exists and belongs to your team’s watchlists
- User email is valid and associated with your team
- Comment text is not empty
- Company title matches (if commenting as company)
- You haven’t exceeded plan limits
3
Asynchronous Processing
The comment is processed asynchronously by OutX’s automation system
4
Execution
The comment is posted on LinkedIn on behalf of the specified user or company
Actor Types Explained
User Actor Type
Whenactor_type is user:
- The comment appears as coming from the individual user
user_emailshould be the email of the user who will comment- The user must be part of your OutX team
- No
company_titleis needed
Company Actor Type
Whenactor_type is company:
- The comment appears as coming from your company page
user_emailshould be the admin user’s email who manages the company pagecompany_titlemust exactly match the company name on LinkedIn- The admin user must have permission to manage the company page
Error Responses
| Status Code | Error Message | Description |
|---|---|---|
| 400 | Missing required parameter: post_id | post_id is required |
| 400 | Missing required parameter: user_email | user_email is required |
| 400 | Missing required parameter: comment_text | comment_text is required |
| 400 | comment_text cannot be empty | Comment text is whitespace-only |
| 400 | Invalid actor_type | Must be ‘user’ or ‘company’ |
| 400 | company_title is required when actor_type is ‘company’ | Missing company title |
| 400 | Post does not support comment functionality | Post is missing required data |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Access denied | Post doesn’t belong to your team’s watchlists |
| 404 | Post not found | Invalid post ID |
| 404 | User not found | Invalid user email |
| 404 | Company not found | Company title doesn’t match any company for the admin user |
| 429 | Plan limit reached | You’ve exceeded your plan’s comment limit |
Best Practices
Write Meaningful Comments
Write Meaningful Comments
- Add value to the conversation
- Share relevant experiences or insights
- Ask thoughtful questions
- Avoid generic responses
- Be authentic and genuine
- Keep comments concise but substantive
Respect Rate Limits
Respect Rate Limits
- Don’t comment on too many posts at once
- Spread comments throughout the day
- Monitor your plan limits
- Implement delays between API calls
- Quality over quantity
Personalize When Possible
Personalize When Possible
- Reference specific points from the post
- Tailor comments to the context
- Use the author’s name when appropriate
- Avoid copy-paste comments
- Make each comment unique

