Quick Start Guide
Get up and running with our Quick Start Guide and start developing your integration.
Integrating with us can begin as soon as you create an account, and this requires three steps:
- Generate your API key so we can authenticate your integration’s API requests.
- Start building so that your integration can interact with the REST API
- Make a test API Request in test mode to confirm that everything is working.
Be sure to refer to our comprehensive API Reference as you navigate through this guide.
Generate your API Key
The RESTful API supports two methods of authentication, using your API credentials directly for Basic HTTP Authentication or generating a temporary AEG Token for use on subsequent API requests. All endpoints support API credential authentication as well as Token-Based Authentication. You can create, view and manage your Client ID and Secret in the Control Panel.
API Key Security
Your API Credentials carry many privileges and your Secret cannot be accessed after creation, so be sure to keep them secure! Do not share your secret API credentials in publicly accessible areas such as GitHub, client-side code, and so forth.
To use your API credentials directly,
BASE64 encode your API credentials in the format
ClientID:APISecret and include them in the Basic Authentication Header. If you wish to use Token Authentication, you will need to generate a 24-hour token by
BASE64 encoding your API credentials in the format
ClientID:APISecret and include them in the Basic Authentication Header to the /authentication endpoint.
All API requests should be made over HTTPS. Calls made over plain HTTP will work but are not recommended. API requests without authentication will fail.
We provide step by step recipes to walk you through code samples in different programming languages. You're also welcome to skip ahead and refer directly to our API Reference.
The above recipes contain examples of a basic SMS send. Please view the API Reference for all available features.
Make a Test API Request
To check that your integration is working correctly, send a message with the
testMode parameter set to
true and ensure that we return a successful response to your API request.
Now you’re ready to go live and start sending!
Updated 3 months ago