Set the creator’s timezone
API reference

Set the creator’s timezone

Sets the creator's timezone — the same setting their dashboard uses for day bucketing.

View as MarkdownUpdated Aug 19, 2026
PUT/api/external/v1/timezonealso served at /api/external/timezone

Sets the creator's timezone — the same setting their dashboard uses for day bucketing.

The value must be a valid IANA name (anything in Intl.supportedValuesOf('timeZone')). This changes what the creator sees on their own Dropfans dashboard too, not just your API reads — only call it when the creator asked for it.

Authentication

Send the creator's API key as a bearer token: Authorization: Bearer dpfn_…. See Authentication & API keys.

For a creator you manage or onboarded

PUT /api/external/v1/creators/{creatorId}/timezone — an agency's own key for a creator or AI persona it manages (needs canEditProfile), or your app owner's own key for an account your app onboarded. The X-Dropfans-Account header still works but is deprecated. See Acting for a creator.

Request body

Content type: application/json

NameTypeRequiredDescription
timezonestringRequiredIANA timezone name, e.g. "Europe/Stockholm". Abbreviations like "CET" are not accepted.
Format: iana-timezone
Set to Stockholm time
{
  "timezone": "Europe/Stockholm"
}

Responses

200The saved timezone, echoed.
NameTypeDescription
timezonestringIANA timezone name (e.g. "Europe/Stockholm"). Defaults to "UTC" when the creator never set one.
Format: iana-timezone
Example response
{
  "timezone": "Europe/Stockholm"
}

Errors

StatusBodyWhen
400{"error":"Invalid timezone"}Missing, non-string, or not a recognised IANA timezone name.
400{"error":"Invalid JSON body"}The request body is not valid JSON.
401{"error":"Unauthorized","code":"unauthorized"}Missing or invalid API key.
400{"error":"X-Dropfans-Account must be an account id (from GET /api/external/agency/creators), not a username.","code":"invalid_account_header"}`X-Dropfans-Account` is not an account id.
400{"error":"X-Dropfans-Account names a different account than the path — send one or the other.","code":"account_mismatch"}Called under /v1/creators/{creatorId}/ with an `X-Dropfans-Account` naming another account.
403{"error":"This key cannot act for that account.","code":"account_not_managed"}The creator in the path (or `X-Dropfans-Account`) is one this key cannot act for: no ACCEPTED management by your agency and not an account your app onboarded (or it no longer holds a key bound to your app), a key minted for one creator, or someone is suspended, banned or deleted. An unknown id gets the same answer.
403{"error":"The agency does not have permission for this on that account.","code":"permission_denied","permission":"canEditProfile"}For a managed creator: the agency lacks `canEditProfile` on that account.

Rate limiting

Every response carries the X-RateLimit-Tier header and, on limited tiers, the per-minute and per-day trios — read X-RateLimit-Remaining and X-RateLimit-Reset instead of hardcoding limits. Details in Rate limits.

Code samples

curl -X PUT "https://www.dropfans.io/api/external/v1/timezone" \
  -H "Authorization: Bearer $DROPFANS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "timezone": "Europe/Stockholm"
}'

Questions? support@dropfans.io