Get user domains
const url = 'https://smtp-app.kirim.email/api/domains?limit=10&page=1';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?limit=10&page=1' \ --header 'Authorization: Basic <credentials>'Retrieve a paginated list of domains for authenticated user
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Number of domains per page
Page number
Search domains by name
Responses
Section titled “Responses”Successfully retrieved paginated list of domains owned by the authenticated user
object
Indicates if the request was successful
Array of domain objects for the authenticated user
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
Pagination metadata for paginated API responses
object
Total number of items available across all pages
Current page number (1-based)
Maximum number of items per page
Number of items skipped from the beginning (0-based)
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" } ], "pagination": { "total": 50, "page": 1, "limit": 10, "offset": 0 }}Unauthorized
object
Error type indicating authentication failure
Human-readable error message explaining the authentication issue
Example
{ "error": "Unauthorized", "message": "Authorization header is required"}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