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:
title: BulkSMS JSON REST Profile API
version: 1.1.0
x-logo:
url: /developer/images/bulksms-logo-main.svg
backgroundColor: '#FFFFFF'
description: '## Overview
The JSON REST API allows you to submit and receive BulkSMS messages.'
servers:
- url: https://api.bulksms.com/v1
description: Production
security:
- basicAuth: []
tags:
- name: Profile
description: Operations related to the profile of the user
paths:
/profile:
get:
tags:
- Profile
operationId: profile.show
summary: Get profile
description: Returns information about the account.
responses:
'200':
description: A Profile object
content:
application/json:
schema:
$ref: '#/components/schemas/Profile'
components:
schemas:
Profile:
type: object
required:
- id
- username
- created
- credits
- quota
properties:
id:
type: string
username:
type: string
created:
type: string
format: date-time
credits:
type: object
properties:
balance:
type: number
format: float
limit:
type: integer
format: int32
isTransferAllowed:
type: boolean
quota:
type: object
required:
- size
- remaining
properties:
size:
description: The setting that limits the number of messages you can send in a day.
type: integer
format: int32
remaining:
description: The number of messages you can still send today.
type: integer
format: int32
originAddresses:
type: object
properties:
isFullControlAllowed:
type: boolean
allowed:
type: array
items:
type: string
company:
type: object
properties:
name:
type: string
taxReference:
type: string
commerce:
type: object
properties:
bankPaymentReference:
type: string
address:
type: object
properties:
street:
type: array
items:
type: string
city:
type: string
region:
type: string
country:
type: string
postalCode:
type: string
securitySchemes:
basicAuth:
type: http
scheme: basic
description: 'The API uses HTTP Basic Auth with an **API Token** for authentication.
API tokens can be created by logging into your account and visiting _Settings > Developer Settings > API Tokens_.
Supply the token ID as the username and the token secret as the password. The values must be [Base64 encoded](https://en.wikipedia.org/wiki/Base64) before using them in the `Authorization` header.
For example, if the token ID is `BBDE1B476E03498AA768F66A286AABDC-01-B` and the token secret is `9jSbVDK20!MXdfRGiIIFu#ffUE8*S`, the unencoded header value is `BBDE1B476E03498AA768F66A286AABDC-01-B:9jSbVDK20!MXdfRGiIIFu#ffUE8*S`. After encoding, the full header becomes
```
Authorization: Basic QkJERTFCNDc2RTAzNDk4QUE3NjhGNjZBMjg2QUFCREMtMDEtQjo5alNiVkRLMjAhTVhkZlJHaUlJRnUjZmZVRTgqUw==
```
You are requested to preemptively provide the `Authorization` header in your requests and not wait until the server has provided a `401 Unauthorized` response. Doing so will reduce the number of requests required to achieve your goal, which will improve overall performance.
> **Username and password authentication is no longer supported.** Accounts created after 2026-04-29 can only authenticate with an API token. If you have a legacy integration that cannot be switched to token-based authentication, please [contact Support](https://www.bulksms.com/contact/) to request an exemption.
'