Skip to content

Turn off quiet hours

DELETE
/v1/account/quiet-hours
curl --request DELETE \
--url https://api.pocketbell.dev/v1/account/quiet-hours \
--header 'Authorization: Bearer <token>'

The account as it is now.

Media typeapplication/json
object
app_account_token
required

Set as the appAccountToken of every App Store purchase, so the purchase is tied to this account.

string format: uuid
plan
required
string
Allowed values: free pro
limits
required
object
sources
required

Null: no limit.

integer | null
monthly_messages
required
integer
history_days
required
integer
usage
required
object
sources
required
integer
messages_this_month
required
integer
quiet_hours
required

Minutes after midnight in time_zone; Normal notifications arrive silently between. Null: off.

object
start
required
integer
end
required
integer
time_zone
required
string
Example
{
"plan": "free"
}

Missing or ended session.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details

Which fields were wrong, for invalid_request.

Array<object>
object
field
required
string
message
required
string
Example
{
"error": {
"code": "invalid_request"
}
}