API stands for Application Program Interface, and is a set of routines, protocols, and tools for building software applications.
API Call Structure
The call structure of the APIs is as follows:
- Method: HTTP is the format used to enable communication between clients (like Web browsers) and servers. The most common methods are GET, POST, PUT and DELETE.
For more information on HTTP, see: HTTP Specification.
- URL: The Web address. The URL host is the Vibes public API site.
- Header: A unit of information that contains information about the file. Vibes APIs use a JSON file.
- Body: Represents the body of the request or response and allows you to declare what the content type is and how it should be handled.
There are currently two versions of the APIs available. You can see what version you are using by looking at the API header.
API Version 1
This is the default version. It does not accept the international format, E.164 phone numbers.
API Version 2
To fully serve its international customers, Vibes released Version 2 of the Vibes Mobile Engagement Platform APIs in 2016 to include support for international E.164 phone numbers.
Example API Version 1
Example API Version 2 (E.164 MDN Format)
REST API Tree URI Structure