cURL
curl --request POST \ --url https://api.projectcor.com/v1/hours/status-change \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "pending", "counters": [ 123 ] } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Hour status
pending
approved
discarded
under_review
invoiced
paid
Array of counter IDs
Status changed successfully