cURL
curl --request POST \ --url https://api.hyra.io/staff/logbook/{workspaceId}/{staffId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "message": "<string>", "type": "promotion", "expiry": "2023-11-07T05:31:56Z" }'
{ "_id": "<string>", "author": "<string>", "workspace": "<string>", "staff_id": "<string>", "type": "<string>", "message": "<string>", "files": [ "<string>" ], "videos": [ "<string>" ], "expired": true, "expiration": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
The response is of type object.
object