Retrieve contact information for a person by their LinkedIn ID, LinkedIn public identifier, GitHub ID, or GitHub login.
GET
/people
curl \
--request GET 'https://peopledb.co/api/v1/people' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"linkedin_id": 123456789,
"linkedin_public_identifier": "johndoe",
"github_id": 12345,
"github_login": "johndoe",
"email_addresses": [
"john.doe@example.com",
"johndoe@company.com"
],
"phone_numbers": [
"+1-555-123-4567"
],
"github_username": "johndoe",
"facebook_username": "john.doe",
"twitter_username": "johndoe"
}
Response examples (400)
{
"error": "One of linkedin_id, linkedin_public_identifier, github_id, or github_login is required"
}
Response examples (401)
{
"error": "Unauthorized"
}
Response examples (404)
{
"error": "No profile found for the given parameters"
}