OpenAPI Specification
openapi: 3.1.0
info:
title: JustCall REST Calls SMS API
description: REST API for the JustCall cloud phone and contact center platform. Covers placing and listing calls, sending SMS, managing contacts, users, phone numbers, and related resources. Authentication uses an API key and API secret obtained from the JustCall dashboard.
version: '2.1'
contact:
name: JustCall Developer Portal
url: https://developer.justcall.io/docs/overview
servers:
- url: https://api.justcall.io/v2.1
description: JustCall production API (v2.1)
security:
- ApiKeyAuth: []
tags:
- name: SMS
description: Send and manage SMS/MMS messages.
paths:
/texts:
post:
summary: Send SMS or MMS
description: Sends an SMS or MMS message via JustCall. Useful for automation and outbound messaging flows.
operationId: sendText
tags:
- SMS
requestBody:
required: true
content:
application/json:
schema:
type: object
description: Outbound text message payload (from number, to number, body, optional media).
responses:
'200':
description: The accepted outbound message.
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: Authorization
description: JustCall authentication. Pass the API key and API secret as defined in the JustCall Authentication documentation (typically combined and passed in the Authorization header).