ValeronDocs

Lists

Add records to a list

POST/v1/lists/{list_id}/members

Requires the scope contacts:write companies:write

Add contacts or companies (of the list's kind) to a list. A key needs the write scope of the list's kind.

#Path parameters

list_idstringrequired

#Request body

application/json
record_idsstring[]required
Items: 1 to 200

#Responses

200Successful Response
Show response fieldsHide response fields
created_atstring (date-time)required
idstringrequired
namestringrequired
objectstringrequired
Allowed values: "contacts" "companies"
record_countintegerrequired

#Errors

Errors use the standard error shape.

StatusMeaning
400The request is not valid.
401Not signed in, or the credentials are not valid.
402The balance is too low.
403Not allowed to do this.
404Not found.
409Conflicts with the current state.
413The request body is too large.
415The content type is not supported.
422A value in the request is not valid.
429Too many requests. Wait for Retry-After seconds.
500Something went wrong on our side.
502A service Valeron depends on refused the request.
503A service Valeron depends on is unavailable.