Productive icon

Productive

Interact with the Productive API

Actions508

Custom Domain → Gets a custom domain

AI-generated

Summary

Retrieve details of a specific custom domain from Productive by specifying either its name ID or its custom domain name.

Inputs

  • Name ID — The unique identifier (name ID) of the custom domain resource to retrieve.
  • Name — The exact custom domain name to retrieve.

Output shape

a single record representing the custom domain's details

Requires either the Name ID or Name to be provided to fetch the custom domain. Returns the fetched custom domain data as one JSON object. Errors occur if neither identifier is provided or if the resource cannot be found.

Examples

Example 1: Get a custom domain by its unique name ID.

Set the 'Name ID' field with the domain's unique identifier, leaving 'Name' empty.

Example 2: Get a custom domain by the domain name.

Set the 'Name' field with the custom domain's exact name, leaving 'Name ID' empty.

Discussion