---
title: "Support, resellers and partners"
description: "Support tickets, reseller end-customers and white label, affiliate programme and SMS."
url: https://www.gyrohosting.com/developers/en/products/support.html
language: en
openapi: https://www.gyrohosting.com/developers/openapi.json
api_version: 2.30.0
---

# Support, resellers and partners

Support tickets, reseller end-customers and white label, affiliate programme and SMS.


## How-to guides

- [Resellers (bayi)](https://www.gyrohosting.com/developers/en/guides/reseller.md)

## Support tickets

Departments, open, reply, close, reopen, rate, attachments.

- `GET /tickets/departments` — [List ticket departments](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreGetTicketDepartments)
- `GET /tickets/access-groups` — [List ticket access groups](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreGetTicketAccessGroups)
- `GET /tickets` — [List tickets](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreGetTickets)
- `POST /tickets` — [Create ticket](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreCreateTicket)
- `GET /tickets/{id}` — [Get ticket (path: {id})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreGetTicket)
- `POST /tickets/{id}/reply` — [Reply ticket (path: {id})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreReplyTicket)
- `POST /tickets/{id}/close` — [Close ticket (path: {id})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreCloseTicket)
- `POST /tickets/{id}/reopen` — [Reopen ticket (path: {id})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreReopenTicket)
- `POST /tickets/{id}/rating` — [Rate ticket (path: {id})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreRateTicket)
- `POST /tickets/{id}/replies/{rid}/rating` — [Rate ticket reply (path: {id}, {rid})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreRateTicketReply)
- `GET /tickets/{id}/attachments/{aid}` — [Get ticket attachment (path: {id}, {aid})](https://www.gyrohosting.com/developers/en/api/support-tickets.md#coreGetTicketAttachment)

## Reseller

Reseller (bayi) accounts manage their own end-customers, assign services, mint end-customer keys and read usage reports. Services stay on the reseller account and use its discount.

- `GET /cloud/reseller/settings` — [Reseller settings](https://www.gyrohosting.com/developers/en/api/reseller.md#getResellerSettings)
- `PUT /cloud/reseller/settings` — [Save reseller settings (white label)](https://www.gyrohosting.com/developers/en/api/reseller.md#saveResellerSettings)
- `GET /cloud/reseller/report` — [Usage and billing report per end-customer](https://www.gyrohosting.com/developers/en/api/reseller.md#resellerReport)
- `POST /cloud/reseller/assign` — [Assign a service to an end-customer (customer_id 0 = unassign)](https://www.gyrohosting.com/developers/en/api/reseller.md#assignService)
- `GET /cloud/reseller/customers` — [List end-customers](https://www.gyrohosting.com/developers/en/api/reseller.md#listResellerCustomers)
- `POST /cloud/reseller/customers` — [Create an end-customer](https://www.gyrohosting.com/developers/en/api/reseller.md#createResellerCustomer)
- `GET /cloud/reseller/customers/{id}` — [Get an end-customer](https://www.gyrohosting.com/developers/en/api/reseller.md#getResellerCustomer)
- `PATCH /cloud/reseller/customers/{id}` — [Update an end-customer (suspend = its keys stop working)](https://www.gyrohosting.com/developers/en/api/reseller.md#updateResellerCustomer)
- `DELETE /cloud/reseller/customers/{id}` — [Delete an end-customer (revokes keys and webhooks, unassigns services)](https://www.gyrohosting.com/developers/en/api/reseller.md#deleteResellerCustomer)
- `GET /cloud/reseller/customers/{id}/keys` — [List an end-customer's keys](https://www.gyrohosting.com/developers/en/api/reseller.md#listResellerCustomerKeys)
- `POST /cloud/reseller/customers/{id}/keys` — [Mint a key for an end-customer (token returned once)](https://www.gyrohosting.com/developers/en/api/reseller.md#createResellerCustomerKey)
- `DELETE /cloud/reseller/customers/{id}/keys/{kid}` — [Revoke an end-customer key](https://www.gyrohosting.com/developers/en/api/reseller.md#deleteResellerCustomerKey)

## Affiliate

Affiliate programme.

- `GET /affiliate` — [Get affiliate](https://www.gyrohosting.com/developers/en/api/affiliate.md#coreGetAffiliate)
- `GET /affiliate/commissions` — [List affiliate commissions](https://www.gyrohosting.com/developers/en/api/affiliate.md#coreGetAffiliateCommissions)
- `POST /affiliate/enroll` — [Enroll affiliate](https://www.gyrohosting.com/developers/en/api/affiliate.md#coreEnrollAffiliate)
- `POST /affiliate/withdraw` — [Withdraw affiliate](https://www.gyrohosting.com/developers/en/api/affiliate.md#coreWithdrawAffiliate)
- `PUT /affiliate/payment-method` — [Save affiliate payout method](https://www.gyrohosting.com/developers/en/api/affiliate.md#coreSaveAffiliatePayoutMethod)

## SMS

SMS senders, quote and send.

- `GET /sms/senders` — [List sms senders](https://www.gyrohosting.com/developers/en/api/sms.md#coreGetSmsSenders)
- `POST /sms/quote` — [Quote sms](https://www.gyrohosting.com/developers/en/api/sms.md#coreQuoteSms)
- `POST /sms/send` — [Send sms](https://www.gyrohosting.com/developers/en/api/sms.md#coreSendSms)
- `GET /sms/messages` — [List sms messages](https://www.gyrohosting.com/developers/en/api/sms.md#coreGetSmsMessages)
- `GET /sms/messages/{id}` — [Get sms message (path: {id})](https://www.gyrohosting.com/developers/en/api/sms.md#coreGetSmsMessage)
