Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.thig.ai/llms.txt

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

Notifications

List Notifications

Retrieve the current user’s notifications.
curl -H "Authorization: Bearer thig_YOUR_KEY" \
  https://app.thig.ai/api/notifications

Mark Notification as Read

curl -X PATCH https://app.thig.ai/api/notifications/NOTIFICATION_ID \
  -H "Authorization: Bearer thig_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"read": true}'

Notification Preferences

Get Preferences

curl -H "Authorization: Bearer thig_YOUR_KEY" \
  https://app.thig.ai/api/user/notification-preferences

Response

{
  "emailNotifications": true,
  "projectUpdates": true,
  "teamActivity": true,
  "commentMentions": true,
  "exportNotifications": true,
  "billingAlerts": true,
  "weeklyDigest": true,
  "securityAlerts": true
}

Update Preferences

emailNotifications
boolean
Master toggle for all email notifications
projectUpdates
boolean
Project status changes, PRD generation
teamActivity
boolean
Member joins, role changes
commentMentions
boolean
Comment replies and mentions
exportNotifications
boolean
Export completions and scheduled exports
billingAlerts
boolean
Usage warnings, payment issues
weeklyDigest
boolean
Weekly activity summary email
securityAlerts
boolean
Login events, MFA changes, password resets
curl -X PATCH https://app.thig.ai/api/user/notification-preferences \
  -H "Authorization: Bearer thig_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"weeklyDigest": false, "teamActivity": false}'

Scheduled Exports

List Scheduled Exports

curl -H "Authorization: Bearer thig_YOUR_KEY" \
  https://app.thig.ai/api/scheduled-exports

Create Scheduled Export

curl -X POST https://app.thig.ai/api/scheduled-exports \
  -H "Authorization: Bearer thig_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "projectId": "PROJECT_ID",
    "format": "pdf",
    "scheduleType": "weekly",
    "cronExpression": "0 9 * * 1",
    "deliveryMethod": "email",
    "recipients": ["pm@example.com", "cto@example.com"],
    "includeChangelog": true
  }'

Run Export Now

curl -X POST https://app.thig.ai/api/scheduled-exports/EXPORT_ID/run \
  -H "Authorization: Bearer thig_YOUR_KEY"

Toggle / Delete

# Toggle active/inactive
curl -X PATCH https://app.thig.ai/api/scheduled-exports/EXPORT_ID \
  -H "Authorization: Bearer thig_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"isActive": false}'

# Delete
curl -X DELETE https://app.thig.ai/api/scheduled-exports/EXPORT_ID \
  -H "Authorization: Bearer thig_YOUR_KEY"