Back to Documentation
API Reference

Build with the PreSales.IO API

Integrate PreSales.IO into your applications with our RESTful API. Upload recordings, generate proposals, and access insights programmatically.

OAuth 2.0 & API Keys
Rate Limit: 1000 req/min

Authentication

All API requests require authentication using an API key. Include your key in the Authorization header as a Bearer token.

bash
curl -X GET "https://api.pre-sales.io/v1/transcripts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Security Note: Never expose your API key in client-side code. Always make API calls from your backend server.

API Endpoints

POST
/api/v1/transcripts

Create Transcript

Upload an audio file and create a new transcript

GET
/api/v1/transcripts

List Transcripts

Retrieve all transcripts for your organization

GET
/api/v1/transcripts/:id

Get Transcript

Retrieve a specific transcript by ID

DELETE
/api/v1/transcripts/:id

Delete Transcript

Delete a transcript and its associated data

POST
/api/v1/proposals

Generate Proposal

Generate a proposal from a transcript

GET
/api/v1/proposals

List Proposals

Retrieve all proposals for your organization

POST
/api/v1/webhooks

Create Webhook

Register a webhook endpoint for events

Example: Create a Transcript

Request

curl
curl -X POST "https://api.pre-sales.io/v1/transcripts" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: multipart/form-data" \
  -F "file=@recording.mp3" \
  -F 'metadata={"client":"Acme Corp","deal_stage":"discovery"}'

Response

json
{
  "id": "tr_abc123",
  "status": "processing",
  "created_at": "2025-01-15T10:30:00Z",
  "metadata": {
    "client": "Acme Corp",
    "deal_stage": "discovery"
  }
}

Official SDKs

Use our official SDKs for easier integration in your preferred language.

JavaScript/Node.js

Coming Soon

Python

Coming Soon

Ruby

Coming Soon

Ready to Start Building?

Get your API key and start integrating PreSales.IO into your applications.