• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

api

  1. E

    Question How can I query the mail queue with Plesk API?

    How can I query the mail queue with Plesk API? (the number of items in the queue is enough) I would like to receive an automatic notification (email) if the number of items in the queue reaches a limit (e.g. 100 pieces), so that I can act in time before the server is blacklisted.
  2. K

    Resolved How to get service plan list via REST API

    Hi, I have looked around and can't find the answer anywhere. I need to find how to list the service plans vis REST API (PHP). Anyone able to help? Thanks
  3. Frank.P

    Resolved XML API : Getting Password for Customer Accounts

    https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/getting-information-about-customer-accounts.28790/#response-packet-structure Sample Response : <password>$5$D9pDoFzjjx+9Jxmk$ZNhvXW2Tu</password>...
  4. J.Wick

    Question Plesk API & CloudFlare IP Issue

    I'm trying to setup Postman to connect to Plesk API, but I'm getting an Access Denied Error and a Cloudflare IP address. If I whitelist all CF IPs I open the API to the world, I don't want that. mod_cloudflare restores the IP to Apache, but it doesn't work on the API. Is there a work around?
  5. M

    Question REST API One time login with redirect url

    I am trying to create an one time login that logins as an system user or redirect to a specific client or domain. In the XML API it can be done with server -> create_session, but how can i do it with the rest api (somewhere in cli??) Is it even possible??
  6. M

    Question Rest API

    Is there an possibility where i can get the traffic usage per server, customer, domain/subscription. I cannot find a way to view the traffic statistics from the last 10 minutes for example. I hope somebody has an answer for me. Kind regards, Arthur
  7. P

    Question Extend Plesk rest API with custom extension?

    Hi everyone, I am developing a Plesk extension which analyses some data of our customers. This data should be transferred to another application using an API. So as Plesk provides the v2 rest API with swagger files this is the way I want to use. The Plesk SDK gives some hint that there is a...
  8. H

    Question Manage multiple servers with Plesk

    Is there currently a way to manage multiple servers together with Plesk? Or is there only the possibility via the API?
  9. J

    Question Virtual Host Template Applied to REST API Domains?

    Hello, I recently configured a virtual host template successfully applied to any new domain created manually in Plesk. When I use the Plesk REST API to create domains, the virtual host template is not applied. Is it possible to apply a virtual host template on API created domains? Here's my...
  10. R

    Input Selling Hosting Services

    So I want to start selling hosting plans however I do not want much with keeping track of Users billing, want to bill via my website (running wordpress) I know there is a WooConmerce plugin for subscription billing however I want. to connect wordpress users accounts to Plesk. Also Enable and...
  11. Lexz

    Resolved API install SSL certificate for mailserver

    Good afternoon everybody, I hope someone can help us. We are developing the API implementation into our customerpanel. We would like to install a certificate (Sectigo) for the mailserver of a subscription but we couldn't find it in the API documentation. (Mail Service Preferences) We only...
  12. tuend

    Question How to create new API endpoint of my custom extension?

    Hi, I'm building an Plesk Extension with some special action. It working very nice with Plesk UI. Now i want to call that actionvia Plesk API. How can i do that? Can you give me some document like: Create new API endpoint of extension,...? Thank you verymuch.
  13. G

    Resolved How to create an extension for api use?

    Hi, I want to be able to create and delete files inside of any user websites. My application will be available outside of Plesk. I took a look at the XML Api but, I can't find any api that allows me to manage the files. But, the extension API does have a Filemanager class that allow to manage...
  14. J

    Input add external DNS APIs for Letsencrypt extension

    I use Gandi.net's DNS service for most of my domains. I also use wildcard certificates issued by the Letsencrypt extension. However the automatic update of the DNS records with the _acme-challenge only works if the DNS is handled within Plesk, if I understand correctly? Gandi, as many DNS...
  15. B

    Question Need API functions to create a backup manager for Plesk

    I'm creating a web based application which will act as a backup/restore manager for Plesk. The desired functionality is as follows: List websites available for restore List databases available for restore List the corresponding dates with backup availability for the above websites/DBs I have...
  16. W

    Question Subscription creation via api: how to deal with ssh public key?

    Hello, I'm currently working with ansible to automate a subscription creation. Here is what i'm achieving right now: With Plesk xml api : - Subscription creation - Database creation for this subscription - User creation for this database With Plesk REST api : - Calling Plesk CLI api to deal...
  17. R

    Resolved Curl Request 401 Unauthorized

    Hello! I am very new to Plesk and I'm doing this for a friend who is also stumped. He's got a Plesk server set up and wants to access the Rest API remotely, but whenever he or I try on our own machines, we get the following error: [root@vps ~]# curl -i -k -X GET -u admin:thepasswordgoeshere...
  18. L

    Question Only IPv4 added to hosting package by default, IPv6 needs to be added manually

    Hello, It seems that all the hosting packages I add will only get the IPv4 of the server assigned. Why is the IPv6 not added by default? Can this be done via the API maybe?
  19. M

    Plesk REST API cli - endpoint for wp-toolkit

    Hi, please help me figure out, what would be an endpoint for REST API call to wp-toolkit extension: When I try to run https://<myIP>:8443/api/v2/cli/wp_instance/call, I get { "code": 0, "message": "Command 'wp_instance' not found" } It looks like wp_isntance command is not supported anymore...
  20. R

    Question Plesk REST API for PHP

    Hello everyone I am trying to automate the ordering process. I want to use the REST API and PHP. The official documentation is not very helpful, hardly anything is described. The swagger version is not very informative either. Does anyone know good documentation that describes how to create a...
Back
Top