BulkGate Helpdesk
  • Languages iconEnglish
    • Czech

›Blacklist

Blacklist

  • Black List download
  • Black List check
  • Addition to the Black List
  • Black List item removal

Address book

  • Get contact
  • Add contact
  • Edit contact
  • Import contacts
  • Remove contact
  • Opt-in consent

Price list

  • Get price list

Shortener

  • URL shortening
  • Changing URLs
  • Removing URLs

Addition to the Black List

API URL

URL used to send HTTP requests:

https://portal.bulkgate.com/api/1.0/black-list/add
POST /api/1.0/black-list/add HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache

Parameters table

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
application_idApplication IDYes-
application_tokenApplication tokenYes-
numbersArray of numbers to blacklistYes-
walletWallet on which to blacklist numbersNoDefault wallet
source_idIdentificator of group in blacklisted numbersNo-

Example of full request:

POST /api/1.0/black-list/add HTTP/1.1
Host: portal.bulkgate.com
Content-Type: application/json
Cache-Control: no-cache

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",     
  "numbers": ["420123456789", "420987654321"],
  "wallet": "WALLET",
  "source_id": "api-my-import"
}

Response to this command may be:

In case of success:

{
    "data": {
        "message": "contacts have been blacklisted"
    }
}

In case of error:

{
    "type": "invalid_wallet",
    "code": 400,
    "error": "Invalid wallet",
    "detail": null
}
{
    "type": "no_valid_numbers",
    "code": 400,
    "error": "No valid numbers",
    "detail": null
}
{
    "type": "number_already_exists",
    "code": 400,
    "error": "Number already exists",
    "detail": null
}
{
    "type": "you_must_select_wallet",
    "code": 400,
    "error": "You must select wallet",
    "detail": null
}
← Black List checkBlack List item removal →
  • API URL
  • Parameters table
  • Response to this command may be:
SolutionsSMS GatewayViber for BusinessBroadcastBulk SMSSMS NotificationsTwo-way SMSMobile ConnectWeb Portal
Partners & DevelopersSMS APIIntegrationsAffiliate programWhite label
SourcesBlogYouTubeFacebookLinkedInTwitterGitHubPackagist
CompanyContactPrivacyTerms and Conditions
Price listsPrice list SMSPrice list ViberPrice list Mobile Connect
SMS GatewayTOPefekt s.r.o. © 2023