---
updatedAt: 2026-07-13T07:05:39.000Z
agentTools:
  projectIndex: https://docs.getsmileapi.com/llms.txt
---

# List Blacklists

List all Blacklists.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Smile API",
    "version": "1.14.0",
    "description": "The Smile API provides employment and income data from a single API. ",
    "contact": {
      "name": "Smile Technology Pte Ltd",
      "url": "https://www.getsmileapi.com",
      "email": "info@getsmileapi.com"
    },
    "termsOfService": "https://www.getsmileapi.com/terms-and-conditions"
  },
  "servers": [
    {
      "url": "https://sandbox.smileapi.io/v1",
      "description": "Sandbox"
    },
    {
      "url": "https://open.smileapi.io/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/alpha/blacklists": {
      "get": {
        "summary": "List Blacklists",
        "operationId": "list-alpha-blacklists",
        "tags": [
          "Blacklists (Alpha)"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AlphaBlacklistListResponse"
                },
                "examples": {
                  "blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e": {
                    "value": {
                      "code": "OK",
                      "message": "Success",
                      "requestId": "5b72199a-6852-4234-bb0e-ad472648282d",
                      "data": {
                        "nextCursor": null,
                        "items": [
                          {
                            "id": "blacklist-e35d521ef8f147c4aa01b7c1af85aaf7",
                            "createdAt": "2021-04-14T09:30:24Z",
                            "status": "COMPLETED",
                            "resultCode": "SUCCESS",
                            "resultMessage": "Success!",
                            "type": "BLACKLIST1",
                            "requestMeta": {
                              "mobileNumber": "639559991234",
                              "countryCode": "PH",
                              "applicationDate": "2023-01-21",
                              "hitThreshold": 3,
                              "templateId": "blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e",
                              "consent": {
                                "type": "Terms And Conditions",
                                "version": 1,
                                "consentedWith": "I agree to the terms and conditions.",
                                "consentedAt": "2021-04-14T09:30:24Z",
                                "consentTemplateId": null
                              }
                            },
                            "result": {
                              "hit": true,
                              "dates": [
                                "2022-03-24",
                                "2022-06-01",
                                "2023-06-03",
                                "2024-06-04",
                                "2024-06-05",
                                "2024-06-06"
                              ]
                            }
                          }
                        ]
                      }
                    }
                  },
                  "tpl-blk002001": {
                    "value": {
                      "code": "OK",
                      "message": "Success",
                      "requestId": "5b72199a-6852-4234-bb0e-ad472648282d",
                      "data": {
                        "nextCursor": null,
                        "items": [
                          {
                            "id": "blacklist-e35d521ef8f147c4aa01b7c1af85aaf7",
                            "createdAt": "2021-04-14T09:30:24Z",
                            "status": "COMPLETED",
                            "resultCode": "SUCCESS",
                            "resultMessage": "Success!",
                            "type": "BLACKLIST1",
                            "requestMeta": {
                              "mobileNumber": "639559991234",
                              "countryCode": "PH",
                              "applicationDate": "2023-01-21",
                              "hitThreshold": 3,
                              "templateId": "tpl-blk002001",
                              "consent": {
                                "type": "Terms And Conditions",
                                "version": 1,
                                "consentedWith": "I agree to the terms and conditions.",
                                "consentedAt": "2021-04-14T09:30:24Z",
                                "consentTemplateId": null
                              }
                            },
                            "result": {
                              "hit": true,
                              "dates": [
                                "2022-03-24",
                                "2022-06-01",
                                "2023-06-03",
                                "2024-06-04",
                                "2024-06-05",
                                "2024-06-06"
                              ]
                            }
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "description": "List all Blacklists.",
        "parameters": [
          {
            "$ref": "#/components/parameters/size"
          },
          {
            "$ref": "#/components/parameters/cursor"
          },
          {
            "name": "blacklistId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "blacklist-e35d521ef8f147c4aa01b7c1af85aaf7",
            "description": "Filter blacklists by a specific Blacklist ID."
          },
          {
            "name": "mobileNumber",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "639559991234",
            "description": "Filter blacklists by a specific mobile number."
          },
          {
            "name": "type",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "BLACKLIST1",
                "BLACKLIST2"
              ]
            },
            "example": "BLACKLIST1",
            "description": "Filter blacklists by Blacklist type."
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "in": "query",
            "name": "startDate",
            "example": "2021-04-01",
            "description": "Filter blacklists by the start date of the request range (YYYY-MM-DD)."
          },
          {
            "schema": {
              "type": "string",
              "format": "date"
            },
            "in": "query",
            "name": "endDate",
            "example": "2021-04-30",
            "description": "Filter blacklists by the end date of the request range (YYYY-MM-DD)."
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ObjectMetadataRefCode": {
        "type": "string",
        "title": "ObjectMetadataRefCode",
        "description": "Request status code",
        "enum": [
          "OK",
          "CREATED",
          "INVALID_CREDENTIALS",
          "INVALID_PARAMETERS",
          "INVALID_TOKEN",
          "UNAUTHORIZED_ACCESS",
          "MISSING_RESOURCE",
          "REQUEST_LIMIT_EXCEEDED",
          "SERVER_ERROR",
          "UNSUPPORTED_METHOD",
          "SERVER_UNAVAILABLE",
          "TIME_LIMIT_EXCEEDED"
        ],
        "example": "OK",
        "x-internal": false
      },
      "ObjectMetadataRefMessage": {
        "type": "string",
        "title": "ObjectMetadataRefMessage",
        "description": "Message response to the request",
        "example": "Success",
        "x-internal": false
      },
      "ObjectMetadataRefRequestID": {
        "type": "string",
        "title": "ObjectMetadataRefRequestID",
        "description": "Unique ID that is added to the body of every response for easy traceability of the request in our logs.",
        "x-internal": false,
        "example": "5b79399a-6852-4234-bb0e-ad472648282d"
      },
      "ObjectNextCursor": {
        "title": "ObjectNextCursor",
        "type": "string",
        "example": "1259723474",
        "description": "The next cursor value that can be used in the following query.",
        "x-internal": false
      },
      "RefDateTime": {
        "type": "string",
        "title": "Date and Time string",
        "format": "date-time",
        "example": "2021-04-14T09:30:24Z",
        "description": "Date and time"
      },
      "RefCountry": {
        "type": "string",
        "nullable": true,
        "title": "Country ISO Codes",
        "enum": [
          "AF",
          "AX",
          "AL",
          "DZ",
          "AS",
          "AD",
          "AO",
          "AI",
          "AQ",
          "AG",
          "AR",
          "AM",
          "AW",
          "AU",
          "AT",
          "AZ",
          "BS",
          "BH",
          "BD",
          "BB",
          "BY",
          "BE",
          "BZ",
          "BJ",
          "BM",
          "BT",
          "BO",
          "BQ",
          "BA",
          "BW",
          "BV",
          "BR",
          "IO",
          "BN",
          "BG",
          "BF",
          "BI",
          "KH",
          "CM",
          "CA",
          "CV",
          "KY",
          "CF",
          "TD",
          "CL",
          "CN",
          "CX",
          "CC",
          "CO",
          "KM",
          "CG",
          "CD",
          "CK",
          "CR",
          "CI",
          "HR",
          "CU",
          "CW",
          "CY",
          "CZ",
          "DK",
          "DJ",
          "DM",
          "DO",
          "EC",
          "EG",
          "SV",
          "GQ",
          "ER",
          "EE",
          "ET",
          "FK",
          "FO",
          "FJ",
          "FI",
          "FR",
          "GF",
          "PF",
          "TF",
          "GA",
          "GM",
          "GE",
          "DE",
          "GH",
          "GI",
          "GR",
          "GL",
          "GD",
          "GP",
          "GU",
          "GT",
          "GG",
          "GN",
          "GW",
          "GY",
          "HT",
          "HM",
          "VA",
          "HN",
          "HK",
          "HU",
          "IS",
          "IN",
          "ID",
          "IR",
          "IQ",
          "IE",
          "IM",
          "IL",
          "IT",
          "JM",
          "JP",
          "JE",
          "JO",
          "KZ",
          "KE",
          "KI",
          "KP",
          "KR",
          "XK",
          "KW",
          "KG",
          "LA",
          "LV",
          "LB",
          "LS",
          "LR",
          "LY",
          "LI",
          "LT",
          "LU",
          "MO",
          "MK",
          "MG",
          "MW",
          "MY",
          "MV",
          "ML",
          "MT",
          "MH",
          "MQ",
          "MR",
          "MU",
          "YT",
          "MX",
          "FM",
          "MD",
          "MC",
          "MN",
          "ME",
          "MS",
          "MA",
          "MZ",
          "MM",
          "NA",
          "NR",
          "NP",
          "NL",
          "AN",
          "NC",
          "NZ",
          "NI",
          "NE",
          "NG",
          "NU",
          "NF",
          "MP",
          "NO",
          "OM",
          "PK",
          "PW",
          "PS",
          "PA",
          "PG",
          "PY",
          "PE",
          "PH",
          "PN",
          "PL",
          "PT",
          "PR",
          "QA",
          "RS",
          "RE",
          "RO",
          "RU",
          "RW",
          "BL",
          "SH",
          "KN",
          "LC",
          "MF",
          "PM",
          "VC",
          "WS",
          "SM",
          "ST",
          "SA",
          "SN",
          "CS",
          "SC",
          "SL",
          "SG",
          "SX",
          "SK",
          "SI",
          "SB",
          "SO",
          "ZA",
          "GS",
          "SS",
          "ES",
          "LK",
          "SD",
          "SR",
          "SJ",
          "SZ",
          "SE",
          "CH",
          "SY",
          "TW",
          "TJ",
          "TZ",
          "TH",
          "TL",
          "TG",
          "TK",
          "TO",
          "TT",
          "TN",
          "TR",
          "XT",
          "TM",
          "TC",
          "TV",
          "UG",
          "UA",
          "AE",
          "GB",
          "US",
          "UM",
          "UY",
          "UZ",
          "VU",
          "VE",
          "VN",
          "VG",
          "VI",
          "WF",
          "EH",
          "YE",
          "ZM",
          "ZW",
          null
        ],
        "description": "2 character alpha ISO-3166 codes",
        "example": "PH"
      },
      "RefDate": {
        "type": "string",
        "format": "date",
        "description": "The date, yyyy-MM-dd",
        "example": "2000-01-21"
      },
      "Consent": {
        "type": "object",
        "required": [
          "consentedAt",
          "consentedWith"
        ],
        "properties": {
          "type": {
            "type": "string",
            "description": "The internal name of your consent document (e.g. \"Terms and Conditions\" or \"Privacy Policy\"); your own reference label",
            "example": "Terms and Conditions"
          },
          "version": {
            "type": "string",
            "description": "Your internal version identifier for this consent document (e.g. \"1.0.0\")",
            "example": "1.0.0"
          },
          "consentedAt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RefDateTime"
              }
            ],
            "description": "The date and time the subject accepted your consent document, typically when they tapped \"I agree\" in your app. Not the time of this API call. Use ISO 8601 format, e.g. \"2024-04-14T09:30:24Z\""
          },
          "consentedWith": {
            "type": "string",
            "description": "The exact text of the button or checkbox the user clicked to give consent, e.g. \"I agree to the Terms and Conditions\"",
            "example": "I agree to the terms and conditions"
          },
          "consentTemplateId": {
            "type": "string",
            "description": "ID of a stored Consent Template. Retrieve from the Developer Portal or GET /consentTemplates. Overrides any inline fields above when provided."
          }
        }
      },
      "AlphaBlacklist1PostRequest2": {
        "type": "object",
        "required": [
          "consent",
          "mobileNumber"
        ],
        "properties": {
          "mobileNumber": {
            "type": "string",
            "description": "Subject's mobile number. Must start with country code i.e. 639559991234, and no leading zeros",
            "example": "639559991234"
          },
          "countryCode": {
            "$ref": "#/components/schemas/RefCountry"
          },
          "templateId": {
            "type": "string",
            "description": "Fixed templateId for this request. Value must be `blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e`.",
            "example": "blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e",
            "default": "blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e"
          },
          "applicationDate": {
            "type": "string",
            "format": "date",
            "description": "Smile will query the data that before this date. The format is yyyy-MM-dd.",
            "example": "2023-01-21"
          },
          "hitThreshold": {
            "type": "integer",
            "minimum": 1,
            "default": 3,
            "description": "The minimum number of matching records required for the subject to be considered a hit. Defaults to 3.",
            "example": 3
          },
          "consent": {
            "$ref": "#/components/schemas/Consent"
          }
        }
      },
      "AlphaBlacklist1PostRequest1": {
        "type": "object",
        "required": [
          "consent",
          "mobileNumber"
        ],
        "properties": {
          "mobileNumber": {
            "type": "string",
            "description": "Subject's mobile number. Must start with country code i.e. 639559991234, and no leading zeros",
            "example": "639559991234"
          },
          "countryCode": {
            "$ref": "#/components/schemas/RefCountry"
          },
          "templateId": {
            "type": "string",
            "description": "Fixed templateId for this request. Value must be `tpl-blk002001`.",
            "example": "tpl-blk002001",
            "default": "tpl-blk002001"
          },
          "applicationDate": {
            "type": "string",
            "format": "date",
            "description": "Smile will query the data that before this date. The format is yyyy-MM-dd.",
            "example": "2023-01-21"
          },
          "hitThreshold": {
            "type": "integer",
            "minimum": 1,
            "default": 3,
            "description": "The minimum number of matching records required for the subject to be considered a hit. Defaults to 3.",
            "example": 3
          },
          "consent": {
            "$ref": "#/components/schemas/Consent"
          }
        }
      },
      "AlphaBlacklist2PostRequest1": {
        "type": "object",
        "description": "Alpha Blacklist Post Request2.",
        "required": [
          "consent",
          "mobileNumber",
          "countryCode",
          "idType",
          "idNumber",
          "templateId"
        ],
        "properties": {
          "mobileNumber": {
            "type": "string",
            "description": "Subject's mobile number. Must start with country code i.e. 639559991234, and no leading zeros",
            "example": "639559991234"
          },
          "idType": {
            "type": "string",
            "description": "The type of ID. If countryCode is PH, this value must be one of the following: NATIONAL_ID, SSS, UMID, TIN, PRC, PHILHEALTH, PASSPORT, DRIVER_LICENSE, VOTER_ID, POSTAL_ID.",
            "default": "NATIONAL_ID",
            "enum": [
              "NATIONAL_ID",
              "SSS",
              "UMID",
              "TIN",
              "PRC",
              "PHILHEALTH",
              "PASSPORT",
              "DRIVER_LICENSE",
              "VOTER_ID",
              "POSTAL_ID"
            ]
          },
          "idNumber": {
            "type": "string",
            "description": "Subject's ID number.",
            "example": "123456789012"
          },
          "countryCode": {
            "$ref": "#/components/schemas/RefCountry",
            "description": "The country code of the ID. Only supported for PH, ID, MX."
          },
          "templateId": {
            "type": "string",
            "description": "Fixed templateId for this request. Value must be `tpl-blacklist-007001`",
            "example": "tpl-blacklist-007001",
            "default": "tpl-blacklist-007001"
          },
          "consent": {
            "$ref": "#/components/schemas/Consent"
          }
        }
      },
      "AlphaBlacklistPostRequest": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/AlphaBlacklist1PostRequest1"
          },
          {
            "$ref": "#/components/schemas/AlphaBlacklist1PostRequest2"
          },
          {
            "$ref": "#/components/schemas/AlphaBlacklist2PostRequest1"
          }
        ],
        "discriminator": {
          "propertyName": "templateId",
          "mapping": {
            "blacklistTpl-f29e992a970f4dbbbf9df3cdfec4cd4e": "#/components/schemas/AlphaBlacklist1PostRequest2",
            "tpl-blk002001": "#/components/schemas/AlphaBlacklist1PostRequest1",
            "tpl-blacklist-007001": "#/components/schemas/AlphaBlacklist2PostRequest1"
          }
        }
      },
      "AlphaBlacklist": {
        "type": "object",
        "required": [
          "id",
          "createdAt",
          "status",
          "requestMeta"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The unique ID for the Blacklist."
          },
          "createdAt": {
            "$ref": "#/components/schemas/RefDateTime"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Blacklist.",
            "enum": [
              "PROCESSING",
              "ERROR",
              "COMPLETED"
            ]
          },
          "resultCode": {
            "type": "string",
            "description": "The final result of the Blacklist.",
            "enum": [
              "SUCCESS",
              "SYSTEM_ERROR",
              "SERVICE_UNAVAILABLE"
            ]
          },
          "resultMessage": {
            "type": "string",
            "description": "A detailed description of the final result of the Blacklist."
          },
          "type": {
            "type": "string",
            "description": "The type of Blacklist.",
            "enum": [
              "BLACKLIST1",
              "BLACKLIST2"
            ]
          },
          "requestMeta": {
            "$ref": "#/components/schemas/AlphaBlacklistPostRequest"
          },
          "result": {
            "type": "object",
            "title": "Blacklist Result",
            "properties": {
              "hit": {
                "type": "boolean",
                "description": "Whether the Blacklist is a hit or not."
              },
              "dates": {
                "type": "array",
                "description": "The list of dates.",
                "items": {
                  "$ref": "#/components/schemas/RefDate"
                }
              }
            }
          }
        }
      },
      "AlphaBlacklistListResponse": {
        "title": "Alpha Blacklist List Response",
        "type": "object",
        "properties": {
          "code": {
            "$ref": "#/components/schemas/ObjectMetadataRefCode"
          },
          "message": {
            "$ref": "#/components/schemas/ObjectMetadataRefMessage"
          },
          "requestId": {
            "$ref": "#/components/schemas/ObjectMetadataRefRequestID"
          },
          "data": {
            "type": "object",
            "properties": {
              "nextCursor": {
                "$ref": "#/components/schemas/ObjectNextCursor"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AlphaBlacklist"
                }
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "parameters": {
      "cursor": {
        "name": "cursor",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string"
        },
        "description": "Uses the filter values of the previous page to determine the next set of items."
      },
      "size": {
        "name": "size",
        "in": "query",
        "schema": {
          "type": "integer",
          "example": 50,
          "minimum": 1,
          "maximum": 150,
          "default": 10
        },
        "description": "The number of objects you want returned in a collection."
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
```