Skip to main content

Add contacts to an advanced list

POST 

https://api.emelia.io/advanced/lists/contacts

Add contacts to an advanced list

Request

Bodyrequired

    idstringrequired
    contact objectrequired
    linkedinUrlProfilestringrequired
    emailstringrequired
    firstNamestring
    lastNamestring
    field1string
    field2string

Responses

Successfully added contact

Schema
    successboolean
    Default value: true
    contactIdstring

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: The API key to use for authentication.
You can find it in your [Emelia account](https://app.emelia.io/settings/api).
You just need to pass the API key in the Authorization header.
import http.client
import json

conn = http.client.HTTPSConnection("api.emelia.io")
payload = json.dumps({
"id": "string",
"contact": {
"linkedinUrlProfile": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"field1": "string",
"field2": "string"
}
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'Authorization': '<Authorization>'
}
conn.request("POST", "/advanced/lists/contacts", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://api.emelia.io
Auth
Body required
{
  "id": "string",
  "contact": {
    "linkedinUrlProfile": "string",
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "field1": "string",
    "field2": "string"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!