pepe.business is a LinkedIn Marketing Partner. Publishing to personal profiles and organization pages.
Connection
POST /v1/connect/linkedin
{ "scopes": ["w_member_social", "r_organization_social", "w_organization_social"] }
Select an organization
GET /v1/connect/linkedin/organizations
# Lists your org pages
POST /v1/connect/linkedin/select-organization
{ "organizationId": "urn:li:organization:123" }
Publishing
Text post
POST /v1/posts
{
"text": "Happy to announce our $5M raise!",
"platforms": ["linkedin"]
}
Post with image
POST /v1/posts
{
"text": "Our new team",
"platforms": ["linkedin"],
"mediaUrls": ["https://example.com/team.jpg"]
}
Long article
POST /v1/posts
{
"platforms": ["linkedin"],
"linkedinOptions": {
"type": "article",
"title": "How we reduced our tech debt",
"text": "## Context\n\n6 months ago, our codebase..."
}
}
Mentions
POST /v1/posts
{
"text": "Thanks to @acme-corp for the collaboration!",
"platforms": ["linkedin"],
"mentions": [
{ "start": 11, "end": 21, "profile": "urn:li:person:xxx" }
]
}
Analytics
GET /v1/analytics/post/{postId}?platform=linkedin
{
"impressions": 2843,
"clicks": 87,
"likes": 142,
"comments": 18,
"shares": 12,
"follows": 4,
"engagementRate": 0.061
}
Organization stats
GET /v1/linkedin/organization-stats?range=30d
{
"followerGrowth": 234,
"impressions": 45200,
"engagementRate": 0.043,
"clicks": 1240,
"topPosts": [...]
}
Limits
- 100 posts / 24h per organization
- 1,500 characters per post (3000 with article)
- Images: 5 MB, JPG/PNG
- Videos: 200 MB, MP4