openapi: "3.0.3"
info:
title: "KrosAI API"
version: "1.0.0"
description: "Connect AI voice agents to phone numbers"
servers:
- url: https://api.krosai.com/v1
description: Production
security:
- ApiKeyAuth: []
- BearerAuth: []
paths:
/phone-numbers:
get:
summary: List phone numbers
# ...
post:
summary: Purchase phone number
# ...
/endpoints:
# ...
/calls:
# ...
/outbound-calls:
# ...
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
BearerAuth:
type: http
scheme: bearer
schemas:
PhoneNumber:
type: object
properties:
id:
type: string
number:
type: string
# ...