Contacts API

API for contacts management

To add/delete or sync your contacts with your account at sendbulksms.com we provide you the following API.

Add contacts

Perform a get request at the following URL:

http://sendbulksms.com/sms/api/http/savecontact.php

The parameters for this request are:

username (required), username

password (required), password

surname (required), contact’s surname

name (required), contact’s name

mobile (required), contact’s mobile number

phone (optional), contact’s phone number

email (optional), contact’s email address

address (optional), contact’s address

birthday (optional), contact’s birthday date

comments (optional), comments for contact

Example of a request:

http://sendbulksms.com/sms/api/http/savecontact.php?username=USERNAME&password=PASSWORD&surname=SURNAME&name=NAME&mobile=MOBILE&comments=COMMENTS

This request can return the following messages:

Success:

ΟΚ

Error messages:

Error: Authentication error.

Error: Mobile number is empty.

Error: Invalid mobile number.

FAILED

Delete contacts

Perform a get request at the following URL:

http://sendbulksms.com/sms/api/http/deletecontact.php

The parameters for this request are:

username (required), username

password (required), password

mobile (required), contact mobile number

Example of a request:

http://sendbulksms.com/sms/api/http/api/http/deletecontact.php?username=USERNAME&password=PASSWORD&mobile=MOBILE

This request can return the following messages:

Success:

ΟΚ

Error messages:

Error: Authentication error.

Error: Mobile number is empty.

Error: Invalid mobile number.

FAILED