curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <Auth Token>' \
'https://api.brdg.app/api/v4/import/contact_by_email' \
-d '{"email":"[email protected]","name":"Test name","linkedin_profile_url":"https://linkedin.com/in/testlk"}'
Request: (Host: https://api.brdg.app)
POST /api/v4/import/contact_by_email
Content-Type: application/json
Accept: application/json
Authorization: Bearer <Auth Token>
Request body in JSON format:
{"email":"[email protected]","name":"Test name","linkedin_profile_url":"https://linkedin.com/in/testlk"}
Response example:
{
"contact": {
"id": "b6e44c34-7958-4d36-9acb-9c68569e5db0",
"name": "Test name",
"email": "[email protected]",
"updated_at": "2022-04-11T22:44:01.464Z",
"linkedin_profile_url": "https://linkedin.com/in/testlk",
"profile_pic_url": "https://example.com/test/picture",
"introductions_count": 0,
"enrichment_enabled": false,
"given_name": "Test",
"bio": "Some bio data",
"bio_source": null,
"bio_source_type": null,
"bio_updated_at": null,
"twitter": "https://twitter.com/someaccount",
"share_link": "http://localhost:3006/introductions/new-by-share?token=eyJhbGciOiJIUzI1NiJ9.eyJzaGFyZV90eXBlIjoiY29udGFjdCIsImNvbnRhY3RfaWQiOiJiNmU0NGMzNC03OTU4LTRkMzYtOWFjYi05YzY4NTY5ZTVkYjAifQ.rzCvkr1uAXJ1b8C1PDuJ66LszeA_03PmEJDSSxtFbmk",
"company": "Some company",
"position": "Some position",
"twitter_handle_url": "https://twitter.com/someaccount",
"company_website": "https://example.com",
"location": "USA",
"note": null,
"organisation_link": "example.com",
"is_personal_email": false,
"is_global_profile": null,
"is_member": false
},
"status": "OK",
"message": "Successfully created contact"
}