post
https://gw.commpeak.com/textpeak/domains
Description
Summary: Registers a new domain in your TextPeak account. Details: This endpoint creates a new domain resource with the specified name. Once created, the domain will go through a verification process. You can check its status and DNS records using the Get domain endpoint. The domain name should be a valid domain string (e.g., example.com).
Authentication & Scopes
Authentication is handled via an API key provided in the Authorization header. No OAuth scopes are defined; access is granted or denied based on the validity of the key.
| Method | Details |
|---|---|
| API Key | Pass your API key directly in the Authorization header value (not as a Bearer token). |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | The API key that verifies your access to the API. |
Content-Type | Yes | Must be application/json. |
accept | No | Expected response format. Default: application/json. |
Parameters
This endpoint does not use query or path parameters.
Request Body
The request body must be a JSON object with the following properties:
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | The domain name to register (e.g., example.com). |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…