List the contact schemas for a TLD
GET/domain-tlds/ {tld}/ contact-schemas/
v2
GET
domain-list-tld-contact-schemas
List the contact schemas describing the fields required to register/transfer a Domain.
Request
Responses
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/domain-tlds/string/contact-schemas
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.domain.listTldContactSchemas({
"tld": "string"
});
assertStatus(response, 200);
use \Mittwald\ApiClient\Generated\V2\Clients\Domain\ListTldContactSchemas\ListTldContactSchemasRequest;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
$request = (new ListTldContactSchemasRequest(
tld: "string"
));
$response = $client->domain()->listTldContactSchemas($request);
var_dump($response->getBody();