Monitor company updates
The Linked API allows you to monitor updates from a company on LinkedIn programmatically, including new posts, employee changes, and other relevant company activities. Below is an example of how to set up monitoring for company updates using a GET
request.
Endpoint
GET /v1/companies/updates
Parameters
url
(required, string): The URL of the LinkedIn company page to monitor for updates.updateType
(optional, string): Specify the type of updates you want to monitor. Accepted values:posts
: Monitor new posts by the company.employeeChanges
: Monitor changes to the company's employees (e.g., new hires, departures).stats
: Monitor changes in company statistics (e.g., followers, engagement rate).all
: Monitor all types of updates (default).
frequency
(optional, string): The frequency of updates in minutes. Default is 60 minutes.
Example
curl -X GET "https://api.linkedapi.io/v1/companies/updates?updateType=all&frequency=30" \
-H "Content-Type: application/json" \
-H "x-api-token: your-api-token-here" \
-H "account-token: your-account-token-here" \
-d '{
"url": "https://www.linkedin.com/company/abc-corp/"
}'
Response
{
"data": {
"updates": [
{
"type": "post",
"postId": "987654321",
"content": "Our team had a fantastic time at the Tech Expo 2024!",
"timestamp": "2024-09-21T11:15:00Z"
},
{
"type": "employeeChange",
"employeeId": "345678",
"name": "Alice Johnson",
"change": "Joined as Senior Software Engineer",
"timestamp": "2024-09-20T09:00:00Z"
},
{
"type": "statUpdate",
"followersCount": 51000,
"engagementRate": 4.7,
"timestamp": "2024-09-19T08:00:00Z"
}
]
},
"success": true
}
Errors
400 Bad Request
: Invalid or missing parameters.401 Unauthorized
: Missing or invalid authorization token.404 Not Found
: Company profile or updates not found.