Send Call
Initiate a call to a phone number. The call will be made using the organization's virtual assistant associated with the API key.
Authorization
bearerAuth Bearer token authentication for API access.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.sophiie.ai/v1/calls" \ -H "Content-Type: application/json" \ -d '{ "name": "John Doe", "phoneNumber": "+1234567890" }'{
"message": "Call initiated successfully"
}{
"message": "string"
}{
"success": false,
"message": "Invalid or expired token",
"error": {
"status": 401,
"message": "Invalid or expired token"
}
}{
"success": false,
"message": "Not found",
"error": {
"status": 404,
"message": "Not found"
}
}{
"success": false,
"message": "Internal server error",
"error": {
"status": 500,
"message": "Internal server error"
}
}List Appointments GET
Retrieve a paginated list of appointments (also referred to as Jobs). Optionally filter by lead ID. Returns appointment data including scheduling details, status, and associated lead information. Results are filtered by the organization associated with the API key.
List Company Notes GET
Retrieve a paginated list of notes for a specific company. Returns note data including content, creation timestamps, and associated user information. Results are filtered by the organization associated with the API key.