Skip to main contentSkip to navigation
[email protected]
Client AreaSupport
Hosting Mammoth
HostingMammothYour Data, Our Responsibility
Home
Solutions
Hosting Services
Store
Pricing
About
Blog
API
Contact

Stay Ahead of the Curve

Get the latest insights on cybersecurity, AI innovations, and enterprise data solutions delivered to your inbox.

Hosting Mammoth
HostingMammothEnterprise Solutions

Enterprise-grade data solutions. Hosting, recovery, cybersecurity, and AI-powered services for businesses worldwide.

[email protected]
Sun - Fri, 9:00am - 5:00pm

Services

  • Cloud Hosting
  • Data Recovery
  • Cybersecurity
  • Legal Support
  • MSP Services
  • Web Development
  • AI Services
  • Free Server Migration

Hosting

  • VPS Hosting (NVMe SSD)
  • VDS Hosting (NVMe)
  • Storage VPS (High SSD)
  • GPU Servers
  • Managed Services
  • Cloud Firewall
  • Load Balancer
  • One-Click Apps
  • n8n Hosting
  • Object Storage
  • FAQ

Company

  • Store
  • Pricing
  • About Us
  • Locations
  • Blog
  • Testimonials
  • Contact
  • Affiliate Program
  • White-Label
  • Terms of Service
  • Privacy Policy
  • Browser Cookies
  • SLA

Support

  • Client Area
  • Submit Ticket
  • Knowledge Base
  • Server Status
  • API Documentation

© 2026 Hosting Mammoth. All rights reserved.

Knowledge Base
Getting StartedAccount ManagementVPS HostingGPU ServersStorage VPSCloud FirewallLoad BalancerServer ManagementBilling & PaymentsSupport & TicketsAffiliate ProgramReseller ProgramMarketplace & Appsn8n HostingManaged ServicesServer MigrationAPI & DevelopersSecurityTroubleshootingGlossaryInstall Guides
  1. Home
  2. /
  3. Support
  4. /
  5. API & Developers
  6. /
  7. Api Support
GUIDEAPI & Developers

Support API — Tickets & KB

3 min read

The Support API lets you integrate Data Mammoth support operations into your own tools and workflows. Create tickets programmatically, track their status, and access Knowledge Base content through standard API calls.

Base URL

text
https://api.datamammoth.com/v1/support

Support Tickets

List Tickets

bash
GET /v1/support/tickets

Query Parameters:

ParameterTypeDescription
statusstringopen, in_progress, awaiting_reply, resolved, closed
departmentstringtechnical, billing, sales, account
prioritystringlow, medium, high, critical
pageintegerPage number
Example:

bash
curl -X GET "https://api.datamammoth.com/v1/support/tickets?status=open" \
  -H "Authorization: Bearer dm_key_abc123def456"

Create a Ticket

bash
POST /v1/support/tickets

Request Body:

json
{
  "subject": "Server 203.0.113.10 high CPU usage",
  "department": "technical",
  "priority": "high",
  "server_id": "srv_abc123",
  "message": "CPU usage has been above 95% for the past 2 hours. I have checked running processes with htop and the top consumer is MySQL. No unusual traffic detected. Please advise on optimization options."
}

Required fields: subject, department, message Optional fields: priority, server_id, attachments

Get Ticket Details

bash
GET /v1/support/tickets/{ticket_id}

Returns the full ticket thread including all messages and metadata.

Reply to a Ticket

bash
POST /v1/support/tickets/{ticket_id}/replies

Request Body:

json
{
  "message": "Thank you for the suggestion. I have increased the innodb_buffer_pool_size to 2GB and restarted MySQL. CPU usage has dropped to 40%. The issue appears to be resolved."
}

Close a Ticket

bash
POST /v1/support/tickets/{ticket_id}/close

Knowledge Base

List Categories

bash
GET /v1/support/kb/categories

List Articles in a Category

bash
GET /v1/support/kb/categories/{category_slug}/articles

Get Article Content

bash
GET /v1/support/kb/articles/{article_slug}

Search the Knowledge Base

bash
GET /v1/support/kb/search?q=ssh+key+setup

Response:

json
{
  "data": [
    {
      "slug": "manage-ssh-keys",
      "title": "Managing SSH Keys",
      "category": "server-management",
      "excerpt": "Learn how to generate, add, and manage SSH keys..."
    }
  ]
}

Use Cases

Automated Ticket Creation

Create tickets automatically when your monitoring system detects issues:

bash
curl -X POST "https://api.datamammoth.com/v1/support/tickets" \
  -H "Authorization: Bearer dm_key_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "Auto-alert: Disk usage above 90% on srv_abc123",
    "department": "technical",
    "priority": "high",
    "server_id": "srv_abc123",
    "message": "Automated monitoring detected disk usage at 92% on server srv_abc123 (203.0.113.10). Immediate attention recommended."
  }'

Custom Support Dashboard

Build a custom interface that displays open tickets, their status, and allows team members to respond — all powered by the Support API.

Knowledge Base Integration

Embed Knowledge Base search and article content into your own help center or documentation portal.

What to Do Next

  • Webhooks — Real-Time Event Notifications — Get notified on ticket updates.
  • API Error Codes & Handling — Handle API errors.
  • API Code Examples — PHP — Support API in PHP.
  • How to Submit a Support Ticket — Manual ticket submission guide.

Was this article helpful?

← Back to API & DevelopersBrowse all categories →

Still have questions?

Contact Support →Submit a Ticket