RoutineFolders

Create a new routine folder. The folder will be created at index 0, and all other folders will have their indexes incremented.

post/v1/routine_folders

Request

  • Base URL: https://api.hevyapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.hevyapp.com/v1/routine_folders
  • Auth: none declared. Required headers: api-key

Headers

api-keystring uuid required

Request body

Example request

{
  "routine_folder": {
    "title": "Push Pull 🏋️‍♂️"
  }
}

Response

The routine folder was successfully created

idnumber

The routine folder ID.

indexnumber

The routine folder index. Describes the order of the folder in the list.

titlestring

The routine folder title.

updated_atstring

ISO 8601 timestamp of when the folder was last updated.

created_atstring

ISO 8601 timestamp of when the folder was created.

Example response

{
  "id": 42,
  "index": 1,
  "title": "Push Pull 🏋️‍♂️",
  "updated_at": "2021-09-14T12:00:00Z",
  "created_at": "2021-09-14T12:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.