Build with theHockey API

Powerful, secure, and developer-friendly APIs to integrate Hockey into your applications. Build custom workflows, automate processes, and create amazing user experiences.

Developer-First API

Built by developers, for developers. Everything you need to integrate Hockey into your workflow.

RESTful Design

Clean, intuitive REST API with predictable resource-oriented URLs and standard HTTP response codes.

  • JSON request/response format
  • Standard HTTP methods
  • Consistent error handling

Real-time Webhooks

Get instant notifications when events happen. Build reactive applications with our reliable webhook system.

  • Sub-second delivery
  • Automatic retries
  • Signature verification

Enterprise Security

OAuth 2.0, API keys, and rate limiting ensure your integrations are secure and performant.

  • OAuth 2.0 authentication
  • Scoped permissions
  • Rate limiting protection

Global Infrastructure

Low-latency API endpoints worldwide with 99.9% uptime SLA and automatic failover.

  • Global edge network
  • 99.9% uptime SLA
  • Automatic failover

Comprehensive Docs

Detailed documentation with code examples, tutorials, and interactive API explorer.

  • Interactive API explorer
  • Code examples in 8 languages
  • Step-by-step tutorials

Developer Tools

SDKs, CLI tools, and testing utilities to speed up your development process.

  • Official SDKs
  • Command-line interface
  • Testing sandbox

Simple to Use

Get started with just a few lines of code

Send a message
curl -X POST https://api.hockey.com/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "ch_1234567890",
    "text": "Hello from the Hockey API!",
    "user_id": "user_abcdef123"
  }'
Response
{
  "id": "msg_9876543210",
  "channel_id": "ch_1234567890",
  "user_id": "user_abcdef123",
  "text": "Hello from the Hockey API!",
  "timestamp": "2025-02-08T10:30:00Z",
  "status": "sent"
}

Core API Endpoints

Everything you need to build powerful integrations

Messages

Send messagePOST /messages
Get messagesGET /messages
Update messagePUT /messages/:id
Delete messageDELETE /messages/:id

Channels

Create channelPOST /channels
List channelsGET /channels
Get channelGET /channels/:id
Update channelPUT /channels/:id

Users

Get user profileGET /users/:id
Update profilePUT /users/:id
Get presenceGET /users/:id/presence
Set presencePUT /users/:id/presence

Files

Upload filePOST /files
Get file infoGET /files/:id
Download fileGET /files/:id/download
Delete fileDELETE /files/:id

Developer Resources

Everything you need to build amazing integrations

API Documentation

Comprehensive guides, reference docs, and interactive examples to get you started quickly.

SDKs & Libraries

Official SDKs for JavaScript, Python, Go, Ruby, PHP, Java, C#, and Swift.

Developer Support

Get help from our developer relations team through Discord, email, or office hours.

Ready to Start Building?

Get your API key and start building amazing integrations with Hockey today. Free tier includes 10,000 API calls per month.