loader

    Knowledge Base

    RESTful API and Terraform provider

    Servers.com provides two means of automation for the operations available in the customer portal – RESTful API and a Terraform provider.

    RESTful API

    RESTful API is available at api.servers.com; its documentation can be found at developers.servers.com.

    Terraform provider

    Documentation for the Terraform provider can be found at registry.terraform.io/providers/serverscom/serverscom/latest/docs.

    Token creation

    Both RESTful API and the Terraform provider require the use of a secret access token for authentication. You can create multiple tokens in the Profile → Public API section of the customer portal. Two types of a token are available: read-only and read-write.

    Token creation
    Token creation