sms77.io API
The sms77.io API provides endpoints for sending SMS messages and voice calls, performing phone number lookups (CNAM, format, HLR, MNP), managing contacts and webhook subscriptions, and retrieving analytics, pricing, balance, and message status information.
Admin: update documentationGET
/analytics
start ( query ) — Start date of the statistics in the format YYYY-MM-DD. By default, the date of 30 days ago is set.end ( query ) — End date of the statistics in the format YYYY-MM-DD. By default, the current day.label ( query ) — Shows only data of a specific label.subaccounts ( query ) — Receive the data only for the main account, all your (sub-)accounts or only for specific subaccounts.group_by ( query ) — Defines the grouping of the data.GET
/contacts
action ( query , required ) — Determines the action to execute.json ( query ) — Defines whether to return the response as JSON or CSV separated by semicolon.POST
/contacts
action ( query , required ) — Determines the action to execute.json ( query ) — Defines whether to return the response as JSON or CSV separated by semicolon.id ( query ) — The contact ID for editing/deletion.nick ( query ) — The contacts name.empfaenger ( query ) — The contacts phone number.email ( query ) — The contacts email address.GET
/hooks
action ( query , required ) — Determines the action to execute.POST
/hooks
action ( query , required ) — Determines the action to execute.id ( query ) — The Webhook ID you wish to unsubscribe.target_url ( query ) — Target URL of your Webhook.event_type ( query ) — Type of event for which you would like to receive a webhook.request_method ( query ) — Request method in which you want to receive the webhook.POST
/lookup
type ( query , required ) — Allowed values are "cnam", "format", "hlr" and "mnp".number ( query , required ) — The phone number to look up.json ( query ) — Determines whether the response shall be returned in JSON format. Does not work with type "format".POST
/lookup/cnam
number ( query , required ) — The phone number to look up.POST
/lookup/format
number ( query , required ) — The phone number to look up.POST
/lookup/hlr
number ( query , required ) — The phone number to look up.POST
/lookup/mnp
number ( query , required ) — The phone number to look up.json ( query ) — Determines whether the response shall be returned in JSON format.GET
/pricing
country ( query ) — The countries ISO code to get pricings for. Allowed values are de, fr, at. Omit to show pricings for all channels.format ( query ) — Determines the response format. Allowed values are json and csv. The default value is json.POST
/sms
text ( query , required ) — The actual text message to send.to ( query , required ) — The recipient number or group name.from ( query ) — Set a custom sender name.foreign_id ( query ) — Identifier to return in callbacks.label ( query ) — A custom label.udh ( query ) — A custom User Data Header.delay ( query ) — Date/Time for delayed dispatch.debug ( query ) — Disable message sending.no_reload ( query ) — Enable sending of duplicated messages within 180 seconds.unicode ( query ) — Force unicode encoding. Reduces sms length to 70 chars.flash ( query ) — Send as flash.utf8 ( query ) — Force UTF8 encoding.details ( query ) — Attach message details to response.return_msg_id ( query ) — Attach message ID to second row in a text response.json ( query ) — Return a detailed JSON response.performance_tracking ( query ) — Enable performance tracking for found URLs.GET
/status
msg_id ( query , required ) — The ID from the SMS.POST
/validate_for_voice
number ( query , required ) — Determines the recipient. Can only be a number, not a contact from your address book.callback ( query ) — The callback URL which gets queried right after validation.POST
/voice
to ( query , required ) — Determines the receiver. Must be a valid phone number or contact from the address book.text ( query , required ) — The text to convert to a voice message. Accepts valid XML too.xml ( query ) — Decides whether the parameter "text" is plain text or XML. The default value is 0.from ( query ) — Sets the sender. Must be a verified sender. Use an inbound number of yours or one of ours.
16 endpoints auto-detected
Authentication
This API uses an API key, passed in the "X-API-Key" header. No OAuth required.
curl -X GET \
"https://gateway.sms77.io/api/analytics" \
-H "X-API-Key: YOUR_API_KEY" gateway.sms77.io · HTTPS only