Support, resellers and partners
Support tickets, reseller end-customers and white label, affiliate programme and SMS.
How-to guides
Support tickets 11
Departments, open, reply, close, reopen, rate, attachments.
- GET
/tickets/departmentsList ticket departments - GET
/tickets/access-groupsList ticket access groups - GET
/ticketsList tickets - POST
/ticketsCreate ticket - GET
/tickets/{id}Get ticket (path: {id}) - POST
/tickets/{id}/replyReply ticket (path: {id}) - POST
/tickets/{id}/closeClose ticket (path: {id}) - POST
/tickets/{id}/reopenReopen ticket (path: {id}) - POST
/tickets/{id}/ratingRate ticket (path: {id}) - POST
/tickets/{id}/replies/{rid}/ratingRate ticket reply (path: {id}, {rid}) - GET
/tickets/{id}/attachments/{aid}Get ticket attachment (path: {id}, {aid})
Reseller 12
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/settingsReseller settings - PUT
/cloud/reseller/settingsSave reseller settings (white label) - GET
/cloud/reseller/reportUsage and billing report per end-customer - POST
/cloud/reseller/assignAssign a service to an end-customer (customer_id 0 = unassign) - GET
/cloud/reseller/customersList end-customers - POST
/cloud/reseller/customersCreate an end-customer - GET
/cloud/reseller/customers/{id}Get an end-customer - PATCH
/cloud/reseller/customers/{id}Update an end-customer (suspend = its keys stop working) - DELETE
/cloud/reseller/customers/{id}Delete an end-customer (revokes keys and webhooks, unassigns services) - GET
/cloud/reseller/customers/{id}/keysList an end-customer's keys - POST
/cloud/reseller/customers/{id}/keysMint a key for an end-customer (token returned once) - DELETE
/cloud/reseller/customers/{id}/keys/{kid}Revoke an end-customer key
Affiliate 5
Affiliate programme.
- GET
/affiliateGet affiliate - GET
/affiliate/commissionsList affiliate commissions - POST
/affiliate/enrollEnroll affiliate - POST
/affiliate/withdrawWithdraw affiliate - PUT
/affiliate/payment-methodSave affiliate payout method
SMS 5
SMS senders, quote and send.