Mailing Lists

Create Mailing List

Changed on

If qrcode_url is provided, it will be used as the default QR Code URL when placing orders with this mailing list.

post/mailing-lists/

Request

  • Base URL: https://api.thanks.io/api/v2
  • URL: https://api.thanks.io/api/v2/mailing-lists/
  • Auth: HTTP bearer

Request body

descriptionstring required
sub_account_idinteger

ID of the sub-account to associate with this mailing list. If not provided, the mailing list will be associated with the main account.

qrcode_urlstring

QR Code URL for the mailing list.

Example request

{
  "description": "Birthday List",
  "sub_account_id": 7,
  "qrcode_url": "https://www.google.com"
}

Response

Created

type'csv' | 'manual' | 'map' | 'friends' | 'retarget' | 'zapier' | 'radius' | 'highlevel' | 'qrscans'
descriptionstring
sub_account_idinteger nullable
user_idinteger
updated_atstring
created_atstring
idinteger

Example response

{
  "type": "manual",
  "description": "New Mailing List (Created via API 09/07/2024)",
  "sub_account_id": 7,
  "user_id": 2,
  "updated_at": "2024-09-07 02:10:32",
  "created_at": "1 second ago",
  "id": 610
}

Changes