openapi: 3.1.0
info:
title: JustCall REST Calls Contacts 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: Contacts
description: Create and manage contacts in the JustCall directory.
paths:
/contacts:
post:
summary: Create a contact
description: Adds a new contact to the JustCall Contacts section.
operationId: createContact
tags:
- Contacts
requestBody:
required: true
content:
application/json:
schema:
type: object
description: New contact payload.
responses:
'200':
description: The created contact.
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).