TextMagic SMS uses a REST API. The key points are:
TextMagic SMS uses a REST API.
The API endpoint is https://rest.textmagic.com/api/v2/
.
TextMagic offers two ways to use their API:
The API uses HTTP headers for authentication:
To use the API, you need to generate API credentials (username and API key).
The API documentation is available at docs.textmagic.com.
While not specific to TextMagic, REST APIs generally have the following characteristics:
TextMagic SMS provides a REST API for developers to integrate SMS messaging capabilities into their applications. This API offers full access to TextMagic's messaging gateway features and follows standard REST principles. Developers need to generate API credentials and use HTTP headers for authentication when making requests to the API endpoint.
The official TextMagic SMS API does not appear to have native webhook functionality. However, TextMagic can be integrated with webhooks through third-party services such as Zapier.
The Zapier integration allows you to create automated workflows that involve TextMagic and webhook functionality. When using Zapier, you can set up actions that send data from TextMagic to a webhook URL. The events you can use as triggers include new incoming calls, new missed calls, and new unsubscribers.
It's important to note that while TextMagic does not offer native webhook support, its API documentation mentions other methods for querying information about messages and contacts, which may be used as alternatives to webhooks in some cases.
Based on the search results provided, here are the key points about the API Rate Limits of the TextMagic SMS API:
The TextMagic SMS API has a request frequency limit of 20 requests per second. If this limit is exceeded, a 429 Too Many Requests error will be returned [1].
For commands that return an array of resources (e.g., GET /api/v2/messages), the "limit" parameter can be set between 1 and 100. If not specified, the default value is 10 [1].
The API requires phone numbers to be in the E.164 format. Local phone formats are not accepted to ensure accurate delivery [1].
There are no explicit daily or monthly limits mentioned in the search results.
The API allows for sending multiple messages simultaneously per request using contacts, lists, and templates [1].
The API provides detailed statistics and reporting features, including messaging statistics and spending statistics [4].
While not directly related to rate limits, the API offers features like mass texting, SMS chat, and integrations [2].
Use the E.164 phone number format in all API requests to ensure proper delivery [1].
When fetching large amounts of data, use the "limit" parameter effectively to control the number of results returned per request [1].
Monitor your request frequency to avoid hitting the 20 requests per second limit [1].
Utilize the API's reporting features to track your usage and costs [4].
Consider using contacts, lists, and templates for sending multiple messages simultaneously to optimize your API usage [1].
In summary, the TextMagic SMS API has a primary rate limit of 20 requests per second, along with some parameter and format restrictions. While there are no explicit daily or monthly limits mentioned, users should be aware of these constraints and follow best practices to optimize their API usage.
Based on the search results provided, here is the most up-to-date information about the TextMagic SMS API version:
The most recent version of the TextMagic SMS API is V2 (Version 2).
Key points to consider:
TextMagic has two SMS API versions: V1 and V2 [2].
The current API endpoint for V2 is: https://rest.textmagic.com/api/v2/
[2].
V1 API keys are not compatible with the V2 version of the TextMagic REST API [2].
To use the V2 API, users need to generate a new API key specifically for the V2 endpoint [2].
The V2 API provides full access to TextMagic's messaging gateway features [1].
It's important to note that TextMagic recommends using the V2 API for new integrations and development. The V1 API is considered legacy and is maintained for reference purposes only [2].
For developers looking to integrate with TextMagic's SMS API, it's recommended to use the V2 endpoint and generate the appropriate API credentials through their account settings.
Sign up for a TextMagic account:
Generate API credentials:
Note your API credentials:
Connect to the API endpoint:
https://rest.textmagic.com/api/v2/
Start using the API:
Implement in your code:
Here are the key data models you can interact with using the TextMagic SMS API, along with what is possible for each:
This covers the main data models and capabilities exposed through the TextMagic API. The API provides comprehensive access to TextMagic's messaging features and allows developers to integrate SMS functionality into their own applications.