Login

  • Sms
  • PUT AddressBook

New address book

This method allows you to create a new address book associated with your account.

Resource

Production environment:

  • https://software.messaggisms.com/api/addressBook

Testing environment

  • https://software.test.messaggisms.com/api/addressBook

Parameters

Property name Type Required Description
name string yes The name of the address book must be unique for the individual user.
note string no Notes to add to the phonebook.

Request examples

Response

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.