HOS
API and developers

The HireOrSell API

Read and manage clients, contacts, projects, invoices, time entries, transactions and more from your own tools or from an AI agent.

Quick start

The base URL is https://hireorsell.com/api/v1. Create an API key in the developer portal, then send it with every request.

curl https://hireorsell.com/api/v1/clients \
  -H "X-API-Key: YOUR_API_KEY"

The API root, GET /api/v1, needs no credentials and returns a JSON index with links to this page and the spec.

Authentication

  • API key: send it in the X-API-Key header.
  • Bearer token: send Authorization: Bearer <token>.
  • OAuth 2.0: use the authorization code flow for third-party integrations.

Rate limits

PlanRequests per minuteRequests per day
Developer601,000
Professional30010,000
Enterprise1,000100,000

Errors

Every error is JSON with a machine-readable code, a message, a request id and a hint that says how to fix the problem. Unknown API addresses return a JSON 404 too, never an HTML page.

{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid authentication credentials",
    "type": "authentication_error",
    "request_id": "req_0123456789abcdef01234567",
    "documentation_url": "https://hireorsell.com/developers#errors",
    "hint": "Send your API key in the X-API-Key header..."
  }
}

Idempotency

For requests that create data, send an Idempotency-Key header. Repeating a request with the same key returns the original response and sets X-Idempotent-Replayed: true.

Resources

GroupWhat it coversOperations
AuthenticationToken-based authentication1
OAuthOAuth 2.0 authorization flows5
Developer PortalDeveloper account management, API keys, subscriptions, and usage12
ClientsClient management with contacts, notes, invoices, and projects15
ContactsContact management with activity, comments, notes, tags, and tasks22
ProjectsProject management with members, files, milestones, and reports23
InvoicesInvoice creation, payments, PDF generation, and delivery8
WorkflowsWorkflow management with issues, pause/resume, and archiving12
Time EntriesTime tracking with clock in/out and break management9
TransactionsFinancial transactions and categories10
EmailsEmail management, drafts, sending, sync, and threads9
CalendarCalendar event management5
OrganizationOrganization settings, members, invitations, and business hours13
WebhooksWebhook management, testing, deliveries, and verification9
ReportsFinancial, project, time, and lead reports4
UserUser notifications and preferences4
FavoritesFavorite items management3

Every operation, with parameters and response shapes, is in the OpenAPI spec.

Build on HireOrSell

Ready to connect your tools?

Start free, create an API key, and make your first request in minutes.