Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kaleyra Verify API

Generate and validate one-time passwords (OTP).

Kaleyra Verify API is one of 6 APIs that Kaleyra publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Verify. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against 4 base URLs: https://api.kaleyra.io, https://api.in.kaleyra.io, https://api.ap.kaleyra.io, https://api.eu.kaleyra.io.

2 operations 2 paths 3 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.kaleyra.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Kaleyra Verify API declares 1 security scheme for authenticating requests. An API key is passed in the header as api-key (apiKeyAuth). By default, every request must be authenticated.

  • apiKeyAuth — API key generated in the kaleyra.io console (e.g. "Ac4XXXXX21f").

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Verify 2

Generate and validate one-time passwords (OTP).

POST
/v1/{sid}/verify
Generate and send an OTP
generateOtp 1 param body → 200401
GET
/v1/{sid}/verify/validate
Validate a submitted OTP
validateOtp 3 params → 200401

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are GenerateOtpRequest (3 properties), VerifyResponse (3 properties), Error (2 properties). Each schema is shown below with its type and property counts.

Error
object
2 properties
VerifyResponse
object
3 properties
GenerateOtpRequest
object
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kaleyra-verify-api-openapi.yml Raw ↑

Other APIs Kaleyra publishes across the network.

Kaleyra Email API
Kaleyra Platform API
Kaleyra Messages API
Kaleyra Video API
Kaleyra Voice API