v1

latestOpenAPI 3.0.02026-07-26173440.3 KB

subscribe a list of users. meant for clients to hit directly

put/ucrm/v1/subscribe

Headers

Authorization'apikey {apikey}' required

This header is expected to be set according to the pattern below, where {apikey} is client's private key created on Wunderkind Platform. Select UCRM API product to create the API key. See https://developer.wunderkind.co/docs/authenticate-api-requests#/

Request body

website_idstring
id_type'email'
idsstring[] required

list of email addresses

Example request

{
  "website_id": "1234",
  "id_type": "email",
  "ids": [
    "test@example.com",
    "fry@planetexpress.com"
  ]
}

Response

emails successfully subscribed with failed ids returned in body