POST /opi/domain
Inputs
- apikey
- string - valid API key
- domain
- string - domain name to add
Errors
- 0 - OK
- 1 - Invalid API Key
- 2 - OPI not enabled on current plan
- 50 - No Domain Specified
- 51 - Account is at domain count limit.
Output
{
"error": int,
"message": string,
"goto": string,
"payload": {
"Domain": {
"UUID": string,
"Domain": string,
"StatusCode": int,
"StatusWord": string,
"CertIssuer": string,
"CertDateIssued": string,
"CertDateExpire": string,
"CertDateLogged": string
}
}
}
cURL Example
curl "https://opsat.net/opi/domain" --request POST --data "apikey=$OPSAT_API_KEY" --data "domain=DOMAIN-NAME"