RelayAPI

Add or re-add a list member

Re-adding an unsubscribed contact opens a new membership interval and preserves the previous transition in immutable history. No consent is granted.

POST
/v1/subscription-lists/{id}/members
AuthorizationBearer <token>

API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Add or re-add a contact to this channel-scoped list. This does not grant channel or purpose consent.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/subscription-lists/string/members" \  -H "Content-Type: application/json" \  -d '{    "contact_id": "string"  }'
{  "channel": "instagram",  "contact": {    "email": "string",    "id": "string",    "name": "string",    "phone": "string"  },  "contact_id": "string",  "list_id": "string",  "source": "automation",  "status": "active",  "subscribed_at": "2019-08-24T14:15:22Z",  "unsubscribed_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}

Found something wrong? Help us improve this page.