POST
/
lists
/
{listId}
/
items
Add Item to List
curl --request POST \
  --url https://api.village.do/v1/lists/{listId}/items \
  --header 'Content-Type: application/json' \
  --header 'user-identifier: <user-identifier>' \
  --header 'x-access-token: <api-key>' \
  --data '{
  "identifier": "<string>",
  "type": "people"
}'
{
  "data": {
    "id": 101,
    "graph_id": "186532",
    "type": "people",
    "data": {}
  }
}

Authorizations

x-access-token
string
header
required

JWT token obtained from /users/authorization endpoint

Headers

user-identifier
string
required

Specify the user making the request. This identifier should match the one you used when integrating the user with Village. Not needed when using user token authentication.

Path Parameters

listId
integer
required

Body

application/json
identifier
string
required

Village-ID or LinkedIn URL

type
enum<string>
default:people
Available options:
people,
company

Response

Item added

data
object