GET
/
mailing-lists
/
{mailingListId}
Get Details
const url = 'https://api.thanks.io/api/v2/mailing-lists/{mailingListId}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "id": 3020,
  "user_id": 2,
  "sub_account_id": null,
  "type": "manual",
  "description": "Birthday List",
  "qrcode_url": null,
  "total_recipients": 0,
  "processed": true,
  "is_suppression_list": false,
  "total_scans": 0,
  "unique_scans": 0,
  "last_scan": null,
  "total_sends": 0,
  "last_send": null,
  "api_key": "167ba7f0-72de-11f0-b054-6d9179a1fdb2",
  "created_at": "2025-08-06T15:57:43.000000Z",
  "created_at_diff": "18 minutes ago",
  "updated_at": "2025-08-06T15:57:43.000000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mailingListId
integer
required

ID of mailing list

Example:

56

Response

200
application/json

Successful Response

The response is of type object.