Get domain details
const url = 'https://smtp-app.kirim.email/api/domains/example.com';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://smtp-app.kirim.email/api/domains/example.com \ --header 'Authorization: Basic <credentials>'Retrieve details of a specific domain
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
example.comDomain name that must be owned by the authenticated user. The domain must be verified and properly configured for email sending.
Responses
Section titled “Responses”Successfully retrieved domain details including verification status and configuration
object
Indicates if the request was successful
Domain object containing email domain configuration and verification status
object
Unique identifier for the domain
Domain name used for sending emails
Custom tracking domain for click and open tracking
Whether the tracking domain has been verified
Whether the authentication domain has been verified
DKIM selector used for DNS verification
DKIM public key record that should be configured in DNS
Whether click tracking is enabled for emails sent from this domain
Whether open tracking is enabled for emails sent from this domain
Whether unsubscribe tracking is enabled for emails sent from this domain
Whether the domain has been verified for email sending
Domain status (active/inactive)
Unix timestamp when the domain was created
Unix timestamp when the domain was last modified
Expected SPF record value that should be configured in DNS
Example
{ "success": true, "data": { "id": 1, "domain": "example.com", "tracklink_domain": "", "tracklink_domain_is_verified": false, "auth_domain_is_verified": false, "dns_selector": "k1", "dns_record": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDjF2J8K5xqH7N8Z9L2zQ3bX9Y1tW7vU6kR5aP4sT8nB3mV7cZ2jX5L8oR9pN3tQ1wE4vY6bF2aC8hI7gD5eJ9kL3mX8oQ6bH2nV5pZ9cR8tW7yB4mX6qN5zL3oV8cF2tH9nB5pQ7eZ1mX8sT6kR4vY9bH3mC8qI7gL5nX2oW9zF5pD8eB7hR3mX6yV9cQ2tK4nB5pL1mX8sT6kR9vY9bH3mC8qI7gL5nX2oW9zF5pD8eB7hR3mX6yV9cQ2tK4nB5pL1mX8sT6kR9vY9bH3mC8qI7gL5nX2oW9zF5pD8eB7hR3mX6yV9cQIDAQAB", "click_track": false, "open_track": false, "unsub_track": false, "is_verified": false, "status": true, "created_at": 1762810896, "modified_at": 1762810896, "spf_record": "v=spf1 mx include:spf.kirim.email ~all" }}Unauthorized
object
Error type indicating authentication failure
Human-readable error message explaining the authentication issue
Example
{ "error": "Unauthorized", "message": "Authorization header is required"}Domain not found
object
Example
{ "success": false, "message": "Domain not found"}Too Many Requests - Rate limit exceeded. Retry after the specified time.
object
Example
{ "success": false, "message": "Too many attempts. Please try again later."}Headers
Section titled “Headers”Seconds until rate limit resets
Maximum requests per minute
Remaining requests in current window