Skip to main content
POST
/
intents
/
leads
/
posts
Extract leads from LinkedIn post reactions and comments
curl --request POST \
  --url https://app.prontohq.com/api/v2/intents/leads/posts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "webhook_url": "https://prontohq.com/webhooks/post-reactions",
  "post_url": "https://www.linkedin.com/posts/activity-1234567890",
  "engagement_type": "all",
  "exclude_same_company": true,
  "persona": "550e8400-e29b-41d4-a716-446655440000"
}'
{
  "message": "Post reactions extraction started successfully. You will receive the results on your webhook shortly.",
  "id": "5d4fabd2-e26d-47d1-b0de-4bf370f7b799",
  "total": 45,
  "preview": [
    {
      "first_name": "John",
      "last_name": "Doe",
      "company_name": "Acme Inc",
      "linkedin_url": "https://www.linkedin.com/in/johndoe",
      "engagement_type": "comment"
    }
  ]
}
Extract leads that enagaged with a linkedIn post

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
webhook_url
string<uri>
required

URL to receive post reactions intent notifications

Example:

"https://prontohq.com/webhooks/post-reactions"

post_url
string<uri>
required

URL of the LinkedIn post to extract leads from

Example:

"https://www.linkedin.com/posts/activity-1234567890"

engagement_type
enum<string>
required

Type of engagement to extract (reactions only, comments only, or both)

Available options:
reactions,
comments,
all
Example:

"all"

exclude_same_company
boolean

Whether to exclude people from the same company as the post author

Example:

true

persona
string<uuid>

Persona UUID to filter leads by specific criteria

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Successfully created post reactions intent

message
string

Success message

Example:

"Post reactions extraction started successfully. You will receive the results on your webhook shortly."

id
string<uuid>

Unique identifier for the post reactions intent

Example:

"5d4fabd2-e26d-47d1-b0de-4bf370f7b799"

total
integer

Total number of matching leads

Example:

45

preview
object[]

Preview of matching leads (first 10)

Maximum length: 10
I