Creates a service code for the domain in the path. srvcode-code is required. srvcode-item defaults to *. Codes that start with system- are the platform's own, such as system-aa and system-queue. Name your own codes without that prefix. Use only letters, digits, and * # . - _ in srvcode-code and srvcode-item, because the paths that read, change, and delete a code accept nothing else.Requires Office Manager scope or above for your own domain, Reseller scope for the domains in your territory, or Super User scope for any domain.A code with the same type, code, and domain returns 409. Change it with PUT /domains/{domain}/servicecode/{type}/{code} instead. A 202 means the change is accepted and applied shortly after. Returns 404 when the domain does not exist. To create a system-wide code, use POST /servicecode with domain*.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Body Params application/jsonRequired
Examples
Responses
🟢202Accepted
application/json
The change is accepted and applied shortly after this response.