cURL
curl --request GET \ --url https://api.example.com/api/settings/subdomain/:subdomain
{ "404": {}, "500": {}, "id": "<string>", "userId": "<string>", "siteName": "<string>", "siteDescription": "<string>", "customDomain": "<string>", "subdomain": "<string>", "twitterLink": "<string>", "linkedinLink": "<string>", "githubLink": "<string>", "websiteLink": "<string>", "dribbbleLink": "<string>", "huggingfaceLink": "<string>", "leetcodeLink": "<string>", "newsletterEmail": "<string>", "domainStatus": "<string>", "createdAt": "<string>", "updatedAt": "<string>" }
Retrieve public blog settings by subdomain
Documentation IndexFetch the complete documentation index at: https://mintlify.com/subratomandal/dyeink/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://mintlify.com/subratomandal/dyeink/llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET https://api.dyeink.com/api/settings/subdomain/myblog
const response = await fetch('https://api.dyeink.com/api/settings/subdomain/myblog'); const settings = await response.json();
{ "id": "65abc123def456789", "userId": "auth0|123456789", "siteName": "My Awesome Blog", "siteDescription": "Thoughts on technology and design", "customDomain": null, "subdomain": "myblog", "twitterLink": "https://twitter.com/username", "linkedinLink": "https://linkedin.com/in/username", "githubLink": "https://github.com/username", "websiteLink": null, "dribbbleLink": null, "huggingfaceLink": null, "leetcodeLink": null, "newsletterEmail": "newsletter@myblog.com", "domainStatus": null, "createdAt": "2024-01-01T00:00:00Z", "updatedAt": "2024-01-15T10:30:00Z" }
{ "error": "Blog not found" }
{ "error": "Failed to get settings" }