• Sms
  • DELETE Contact

Delete contact

This method allows you to to delete a contact from one or more address books.


Production environment:

  • https://software.messaggisms.com/api/contact/"phone"

Testing environment

  • https://software.test.messaggisms.com/api/contact/"phone"


Property name Type Required Description
addressbooks string or array no One or more address book names from which cancel the contact. The "default" address book CANNOT be present among the names. If no parameter is passed, the contact will be permanently deleted.

Request examples


Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
success boolean True or false.
code int If the API call is successful, it will be 200, otherwise 4xx.
error_code string Present only if the API call fails, it contains an error code in string format.
message string Present only if the API call does not go to its end, it contains a message that can be shown by the user.