# Blacklist

# Get blacklist

# Description

You can use this API to check your blocked list.

# Endpoint

    POST https://019sms.co.il/api
  

# Parameters

Name Type Description Required
blacklist object Contains all other elements. ✔️
user object Contains the user element. ✔️
username string The username of the account by which you are recognized in the system ✔️
from object The start date to take the report from. Format : dd/mm/yy hh:mm ✔️
to object The end date to take the report from. Format : dd/mm/yy hh:mm ✔️

# Request Example

xml
Copy code
    
  

# Response Example

xml
Copy code
    
  

Note

Full description of the response status and message can be found in here:

# Remove phones from blacklist

# Description

You can use this API to remove phones from blacklist.

# Endpoint

    POST https://019sms.co.il/api
  

# Parameters

Name Type Description Required
rmNumBL object Contains all other elements. ✔️
user object Contains the user element. ✔️
username string The username of the account by which you are recognized in the system ✔️
phones object . Contains all phone elements. ✔️
phone string Contains phone you want to remove. ✔️
reason object Contains an text about the reason why you want to remove. ✔️

# Request Example

xml
Copy code
    
  

# Response Example

xml
Copy code
    
  

Note

Full description of the response status and message can be found in here:

# Add number to blacklist

# Description

You can use this API to add phones from blacklist.

# Endpoint

    POST https://019sms.co.il/api
  

# Parameters

Name Type Description Required
addNumBL object Contains all other elements. ✔️
user object Contains the user element. ✔️
username string The username of the account by which you are recognized in the system ✔️
phones object . Contains all phone elements. ✔️
phone string Contains phone you want to remove. ✔️

# Request Example

xml
Copy code
    
  

# Response Example

xml
Copy code
    
  

Note

Full description of the response status and message can be found in here:

Last Updated: 4/9/2024, 12:15:22 PM