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 204 Successful detached.

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

We use cookies (and other similar technologies) to collect data to improve your experience on our site. By using our website, you’re agreeing to the collection of data as described in our Website Data Collection Policy.