Skip to main content
GET
/
api
/
settings
curl -X GET https://api.dyeink.com/api/settings \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": "507f1f77bcf86cd799439011",
  "userId": "user123",
  "siteName": "My Awesome Blog",
  "siteDescription": "Thoughts on technology and design",
  "customDomain": "blog.example.com",
  "subdomain": "blog-abc123",
  "twitterLink": "https://twitter.com/username",
  "linkedinLink": "https://linkedin.com/in/username",
  "githubLink": "https://github.com/username",
  "websiteLink": "https://example.com",
  "dribbbleLink": null,
  "huggingfaceLink": null,
  "leetcodeLink": null,
  "newsletterEmail": "newsletter@example.com",
  "domainStatus": "active",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-03-01T14:20:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/subratomandal/dyeink/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves the authenticated user’s site settings. If no settings exist, default settings are automatically created and returned.

Authentication

Requires authentication via Authorization header with Bearer token.

Response

id
string
Unique identifier for the settings document
userId
string
ID of the user who owns these settings
siteName
string
Display name of the site
siteDescription
string
Description of the site
customDomain
string | null
Custom domain configured for the site
subdomain
string | null
Subdomain for the site (e.g., blog-abc123)
Twitter/X profile URL
LinkedIn profile URL
GitHub profile URL
Personal website URL
Dribbble profile URL
Hugging Face profile URL
LeetCode profile URL
newsletterEmail
string | null
Newsletter subscription email address
domainStatus
string | null
Status of the custom domain. Possible values: pending, verified, active, failed, or null
createdAt
string
ISO 8601 timestamp when settings were created
updatedAt
string
ISO 8601 timestamp when settings were last updated
curl -X GET https://api.dyeink.com/api/settings \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "id": "507f1f77bcf86cd799439011",
  "userId": "user123",
  "siteName": "My Awesome Blog",
  "siteDescription": "Thoughts on technology and design",
  "customDomain": "blog.example.com",
  "subdomain": "blog-abc123",
  "twitterLink": "https://twitter.com/username",
  "linkedinLink": "https://linkedin.com/in/username",
  "githubLink": "https://github.com/username",
  "websiteLink": "https://example.com",
  "dribbbleLink": null,
  "huggingfaceLink": null,
  "leetcodeLink": null,
  "newsletterEmail": "newsletter@example.com",
  "domainStatus": "active",
  "createdAt": "2024-01-15T10:30:00.000Z",
  "updatedAt": "2024-03-01T14:20:00.000Z"
}