Skip to main content
POST
Format an ISO 8601 duration

Authorizations

X-API-KEY
string
header
required

Your deployment's API key (MMK_API_KEY). Routes that accept OAuth2 also allow Authorization: Bearer <token>.

Body

application/json
duration
string
required

ISO 8601 duration, e.g. PT1H30M15S.

formats
enum<string>[]

Which formats to return. Omit for defaults.

Available options:
long,
short,
mm:ss,
hh:mm:ss,
dd:hh:mm:ss,
seconds,
minutes,
hours

Response

Formatted duration

original
string
standard_time
string

HH:MM:SS form.

formats
object
is_valid
boolean
error
string