Get Saved User Persona

GET /get-user-persona

Description:
Note: This API should only be used to retrieve the saved data after you have analyzed a profile via /analyze-linkedin-url

This API retrieves a lead’s enriched behavioral data from Behavely AI using their LinkedIn profile URL. It analyzes publicly available online signals—including social media behavior, content engagement patterns, professional interests, and digital footprint—to generate a detailed persona. The response includes insights such as the lead’s top interests, communication style, preferred content types, behavioral tendencies (e.g., risk-taking, analytical, social), and do’s and don'ts for outreach.


Step 1: Setup Your Authorization

To initiate a batch call, you must first authenticate your request. Ensure you have your API key from signing up on the developer portal.

Step 2: Create the Payload

Endpoint:

GET /api/get-lead-data

Query Parameters:

Parameter

Type

Required

Description

linkedin_url

string

✅ Yes

The full LinkedIn profile URL of the lead to look up.

api_token

string

✅ Yes

Your unique API access token for authentication.



Step 3: Request the API

You can send the request in the format below:

Example:

GET /api/get-lead-data?linkedin_url=https://www.linkedin.com/in/johndoe&api_token=your_api_token
Step 4: Send the API Request

Use the provided CURL code snippet to make the API request.

Step 6: Handle the Response

After sending the batch request, you’ll receive a response with a linkedin_url and the api_token. Please wait for the response, it typically takes 20-60 seconds.

Here’s what an example response might look like:

{
  "name": "John Doe",
  "email": "john.doe@example.com",
  "social_handles": {
    "twitter": "@johndoe",
    "instagram": "@john_ig"
  },
  "personality_insights": {
    "likes": ["AI", "Marketing Automation"],
    "dislikes": ["Cold Outreach"],
    "communication_style": "Direct and Data-Driven"
  },
  "ice_breakers": [
    "John recently shared a post on AI trends in marketing. That could be a great conversation starter!"
  ]
}