Get List IDs

Get All the List ID by user's account.


Function

  • getLists()

Url

  • POST: /PuresendService/v1/getLists

Parameters

  • listType: int
    • list type.
      • 1 for regular lists
      • 2 for database suppression sists
      • 3 for file-based suppression list
      • 4 for file-based domain suppression list
      • 5 for file-based username suppression list
      • 7 for file-based MD5 suppression list
      • 8 for seed list

Return

  • listId: int[]:
    • list id corresponding to the list name

Exception

  • Exception

Documentation

  • Get All the List ID by user's account.

Examples

{
    "listType": 1
}
{
    "listId": [
        1234,
        5678
    ]
}