Business

Add a subscriber: confirmed true only with their consent; otherwise they get the confirmation email

post/business/lists/{listId}/subscribers

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/business/lists/{listId}/subscribers
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

listIdstring uuid required

Request body

emailstring email required
namestring
confirmedboolean

Response

Added

idstring uuid required
listIdstring uuid required
emailstring required
namestring nullable required
status'pending' | 'subscribed' | 'unsubscribed' required
source'form' | 'dashboard' | 'api' required
createdAtstring required

ISO-8601 timestamp

confirmedAtstring nullable required

ISO-8601 timestamp

unsubscribedAtstring nullable required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.