Skip to Content
DevelopersAPI referenceTime

Reorder (time favorites)

PUT
/v1/time-favorites/order

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (blk_…) from Settings → API keys.

Request Body

application/json
  1. body
ids*array<>
Itemsitems <= 12

Response Body

application/json
  1. response
items*array<>
Example Request
curl -X PUT 'https://your-billleaf-api/v1/time-favorites/order' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "6e0346a3-e54d-40e3-9779-4ba1e707e35b"  ]}'
Example Response200
{  "items": [    {      "id": "string",      "description": "string",      "projectId": "string",      "projectName": "string",      "clientName": "string",      "taskId": "string",      "taskTitle": "string",      "tags": [        {          "id": "string",          "name": "string",          "color": "gray"        }      ],      "billable": true    }  ]}