Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
version: v1
title: RESTful API (JSON) Coverage API
description: 'REST API is an easy and standardized way to work with SureSMS SMS gateway.
The API uses RESTful protocol, OAuth2 (password) for authentication and responses are in JSON format.
You can use JavaScript (and other programming languages) to GET (query), POST (send) or DELETE your messages.'
servers:
- url: https://apiv2.suresms.com/json
tags:
- name: Coverage
paths:
/api/Coverage:
get:
tags:
- Coverage
summary: List the countries coverage and capabilities
description: 'Used to discover if SureSMS gateway covers a specific destination, and which features are available on the destination.
It returns a list of countries where the dispatching can be expected to work.'
operationId: Coverage_Get
responses:
'404':
description: Not Found
'200':
description: Coverage list successfully retrieved
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Coverage'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/Coverage'
application/xml:
schema:
type: array
items:
$ref: '#/components/schemas/Coverage'
text/xml:
schema:
type: array
items:
$ref: '#/components/schemas/Coverage'
deprecated: false
security:
- oauth2:
- ''
components:
schemas:
Coverage:
description: Coverage element
required:
- CountryCode
- CountryName
type: object
properties:
CountryCode:
format: int32
description: The international country calling code (e.g. +1 for US, +45 for Denmark).
type: integer
CountryName:
description: The name of the country in English
type: string
NumericalSenderID:
description: Is Numerical SenderID supported for this destination.
type: boolean
AlphanumericalSenderID:
description: Is Alphanumerical SenderID supported for this destination.
type: boolean
DeliveryReport:
description: Is the delivery report supported for this destination.
type: boolean
FlashMessage:
description: Are Flash Messages supported for this destination.
type: boolean
securitySchemes:
oauth2:
type: oauth2
flows:
password:
scopes:
read: Read access to protected resources
write: Write access to protected resources
tokenUrl: json/token
description: OAuth2 Password Grant