Developer Docs

Table of contents

Remove contact from the Stoplist

Performs the removal of one or more contacts from the SMS or Viber stop list.

To remove contact to the stoplist, make a request to this URL:

POST http://one-api.bsg.world/api/stoplist/detach

Request parameters:

ParameterRequiredTypeDescription 
idsYesarrayAn array of contact IDs
typesYesarraySpecify the stop list type from which you want to remove contacts. Possible values: sms, viber.

Request example:

{
  "ids": [
    1
  ],
  "types": [
    "sms"
  ]
}

Response parameters

If the query is successful, you will get a 200 Successful detached.

If the query fails, an error object will be returned.