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

Authorizations

secret-key
string
header
required

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.

Path Parameters

listId
integer
required

Body

application/json

Response

201
application/json

Item added

The response is of type object.