{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-openapi.json","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"openapi.json","dynamicMarkdocComponents":[],"baseSlug":"/openapi","seo":{"title":"Book for Work API","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"itemId":"","disableAutoScroll":true,"metadata":{"type":"openapi","title":"Book for Work API","description":"\nWelcome to Book for Work API! Before reading the documentation please\nmake sure you read the tab Getting Started.\n\n## Authentication\n\nAll endpoints require HMAC-SHA256 signature authentication via\nthe `Authorization` header:\n\n**Format**: `Authorization: API-Key={key},Signature={hmac_signature},\nTimestamp={unix_timestamp}`\n\n**Steps to generate signature**:\n1. Generate the current Unix timestamp (UTC, seconds).\n2. Create the signing message by concatenating the following values\n   **in this exact order with no separators**:\n   ```\n   {api_key}{secret}{timestamp}\n   ```\n3. Generate an HMAC-SHA256 signature using the API secret as the HMAC key.\n4. Encode the signature as a hexadecimal string.\n5. Include the API key, signature, and timestamp in the `Authorization` header.\n\nRequests are rejected if the timestamp differs from the server time\nby more than 5 minutes.\n\n"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"api-docs.bookforwork.com","port":4000,"ipAddress":"216.73.217.175"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/openapi","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}