Skip to main content
POST
/
organization
/
hours
Set organization business hours
curl --request POST \
  --url https://api.getfernand.com/organization/hours \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "timezone": "America/New_York"
}
'
{}
Configure the organization’s business hours for each day of the week. Hours must be provided in UTC timezone and will not be converted automatically. The client application must handle timezone conversion based on user preferences. Validates that hours are properly formatted, non-overlapping, and within valid time ranges.

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Body

application/json
timezone
string
required

IANA timezone identifier (required).

Example:

"America/New_York"

hours
object[]

Array of business hours by day (can be empty to clear hours).

Response

Business hours updated successfully.

The response is of type object.