LogoLogo
Jump to...Create Free API Account
  • Developer Center Introduction
  • Getting Started
    • Get an API Key
    • Send a Message
    • Add a Subscriber
    • Setting up Webhooks
  • Check Delivery Status
  • API Basics
    • Request / Response Headers
    • Request Parameters
    • Rate Limits
    • Error Response Codes
  • Messaging Routes
    • 10DLC
    • Toll-Free
    • Short Code
    • iMessage
    • RCS / RBM
  • Tutorials
    • Message Sending
      • Send an SMS Message
      • Send an MMS Message
      • Send an iMessage
        • Sender Identity
        • Subscriber Opt In
        • Send iMessages
        • SMS Fallback
      • Message Templates
      • Receive and Reply to Messages
    • Manage Subscribers
      • Custom Subscriber Attributes
      • Group Subscribers
      • Bulk Create/Update Subscribers
    • Webhooks
      • Setting up your first webhook
  • Use Cases
    • Generate and validate 2FA / MFA codes via SMS
  • FAQ
  • API Reference
Powered by GitBook
LogoLogo

Resources

  • Help Center
  • Contact

Company

  • About Us
  • Privacy Policy
  • Service Agreement

Connect with Us

  • YouTube
  • Facebook
  • X (Twitter)
  • Instagram

Mobile Text Alerts © 2025

On this page
  • Request Headers
  • Authorization
  • Content-Type
  • Response Headers

Was this helpful?

Export as PDF
  1. API Basics

Request / Response Headers

Learn which headers are used in MTA API calls and responses.

PreviousAPI BasicsNextRequest Parameters

Last updated 3 months ago

Was this helpful?

Request Headers

Request headers contain information about the client request. Learn more about the header types used by the Mobile Text Alerts API.

Authorization

The Authorization header is used for authentication purposes in HTTP requests. This is a token or credentials used to prove the client's identity. The Mobile Text Alerts API uses Bearer Token Authentication with an API Key.

Header structure: "Authorization: Bearer {myAPIKey}"

Example request:

curl -L \
  -H 'Authorization: Bearer 89fa747a-e01b-5940-99c2-4e96fa996258' \
  'https://api.mobile-text-alerts.com/v3/auth/verify-api-key'// 

See to learn how to generate and send this key in a request.

Content-Type

Content-Type is an HTTP header that indicates the data type of the request’s message body. This is needed for the server to understand how to process the request data.

Header structure: "Content-Type: application/json"

Example request:

curl --location 'https://api.mobile-text-alerts.com/v3/groups/12345/subscribers/bulk-create' \
--header 'Content-Type: application/json' \
--data '{
    "subscriberIds": [
        123
    ]
}'

Response Headers

Parameter
Type
Description

RateLimit-Limit

integer

The maximum number of requests that the consumer is permitted to make per window.

RateLimit-Remaining

integer

The number of requests remaining in the current rate limit window.

RateLimit-Reset

integer

The remaining window before the rate limit resets (in milliseconds).

Retry-After

integer

The number of seconds to wait before retrying the request.

X-RateLimit-Limit

integer

The maximum number of requests that the consumer is permitted to make per window.

X-RateLimit-Remaining

integer

The number of requests remaining in the current rate limit window.

X-RateLimit-Reset

integer

The remaining window before the rate limit resets (in milliseconds).

X-Request-ID

string

A unique identifier for the request.

Response headers provide metadata about the response to the client. Most of the MTA API response headers provide information about your individual account's usage.

Get an API Key
rate limit