Docs
Lists

Add contacts to a list

POSThttps://api.norreach.app/v1/lists/{id}/members

Adds up to 1 000 contacts to a list. Contacts already on it stay; ids that aren't this workspace's contacts are returned in not_found and skipped. Automations that start on a list run as they do in the app.

contacts:writeOperation id: add_list_members
POST/lists/{id}/members
curl -X POST "https://api.norreach.app/v1/lists/{id}/members" \
  -H "Authorization: Bearer $NORREACH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "contact_ids": [
    "7d1c3b2a-5e4f-4a1b-9c8d-0e1f2a3b4c5d"
  ]
}'
Add contacts to a list
{
  "object": "list_members_change",
  "list_id": "9b2f7e1d-3c4a-4b5d-8e6f-7a8b9c0d1e2f",
  "added": 1,
  "not_found": []
}

Authorizations

Authorizationstringheaderrequired

Bearer authentication: send Authorization: Bearer <key>, with an API key or an OAuth access token. The key needs the scope contacts:write. API keys and scopes

Path parameters

idstring (uuid)pathrequired

An id (UUID).

Headers

Idempotency-Keystringheader

Any unique string (≤ 255). The same key with the same request returns the first answer for 24 hours.

Body

application/json

contact_idsstring (uuid)[]required

Response

200application/json— Add contacts to a list

object"list_members_change"required
list_idstring (uuid)required

An id (UUID).

addedinteger
removedinteger
not_foundstring (uuid)[]

Ids that aren't contacts of this workspace (nothing was done with them).

Errors

Errors are application/problem+json with a stable code.

StatusCodeMeaning
400bad_requestThe request couldn't be read.
400unknown_fieldThe request has a field this operation doesn't know.
401unauthorizedA valid API key is required.
403insufficient_scopeThis API key doesn't have the scope this operation needs.
403feature_not_enabledThe API isn't switched on for this workspace.
404not_foundThat doesn't exist.
409idempotency_in_progressA request with this Idempotency-Key is still running.
413too_largeThe request body is too large.
422validation_failedThe request has invalid fields.
422idempotency_mismatchThis Idempotency-Key was used with a different request.
429rate_limitedToo many requests. Slow down and try again.
500server_errorSomething went wrong on our side.
503unavailableThe API isn't available right now. Try again shortly.