To be able to enjoy the web you need a more recent and safe browser. For more information, check the Internet Explorer updates.
 You cannot register this service. Contact Support

API dinahosting

All the commands you need
If you have doubts, we help you for free

api.cta__h1

API dinahosting

Todos los comandos que necesitas para implementar tu propia plataforma de venta y gestión de dominios, alojamiento web, VPS... usando tu interfaz, automatizando y planificando acciones sobre uno o varios servicios.

  • API en PDF

    Download Fecha de actualización: 04/12/2025 08:30:37
  • Librería de archivos

    Download Dinahosting HTTP_Request libary files

Documentación de la API

A continuación se muestra la documentación completa de la API de dinahosting y la lista de comandos disponibles. Cada comando incluye una descripción detallada de su funcionamiento, los parámetros que admite y los posibles tipos de respuesta.

Al seleccionar un comando, se mostrará también un generador de peticiones y un simulador de respuesta, que te permitirán probar cómo invocar la API y visualizar la respuesta real que devuelve el servidor.

List of commands

List of errors

Hosting_Ftp_Account_Create

Creates a new FTP account.
1.0 -> 1.1: Minor improvements.
1.1 -> 1.2: Folder parameter is now optional (may be left empty or missing).
1.2 -> 1.3: Turned into a delayed execution command.
Please note this command has a delayed execution and it'll return SUCCESS_PENDING code on success and a ticket id (integer) on the data field.
Version: 1.3
Special errors:
COMMAND_PENDING_PREVIOUS_EXECUTION If there is a previous pending create for this FTP account.
OBJECT_STATUS_PROHIBITS_OP Account name is forbidden.
UNIMPLEMENTED_OBJECT_SERVICE If hosting can't manage FTP ( hosting setup forbids FTP ).

Parameters

  • hosting (string): Hosting name. The parameter is required.
  • account (string): FTP account name. The parameter is required. Parameter length must be between 1 and 35 characters. It can contain only alphanumeric, underscore, dot or dash chars. String must start with a alphanumeric char.
  • password (string): Account password. The parameter is required. Parameter length must be between 6 and 71 characters.
  • folder (string): Remote folder. If missing or empty, the FTP account will use a default folder (like /www/). The parameter is optional. Parameter length must be between 0 and 150 characters.Parameter length must be between 1 and 255 characters. It should be a valid unix path.

Tipo de datos de respuesta

int

Generador de código

Genera fácilmente el código completo de tu petición en distintos lenguajes.

Hosting name.

FTP account name.

Account password.

Remote folder. If missing or empty, the FTP account will use a default folder (like /www/).

 
 

Simulador

Prueba tu petición y obtén al instante una respuesta simulada de ejemplo.

Hosting name.

FTP account name.

Account password.

Remote folder. If missing or empty, the FTP account will use a default folder (like /www/).