Skip to content

Create a list

Request

Create a new contact list.

Security
bearerAuth
Bodyapplication/jsonrequired
namestringrequired

Name for the new list.

Example:"CMO Germany"
POST
/leads/api/lists
curl -i -X POST \
  https://leadgen.grinfi.io/leads/api/lists \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "CMO Germany"
  }'

Responses

List created.

Bodyapplication/json
uuidstring
Example:"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
team_idinteger
namestring
Example:"CMO Germany"
created_atstring, (date-time)
updated_atstring, (date-time)
Response
{ "uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "team_id": 0, "name": "CMO Germany", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }