{
    "info": {
        "name": "Tawzifa Company API v1",
        "description": "Set apiKey (twz_test_… for the sandbox) and baseUrl. Every request is signed by the collection pre-request script. Docs: https://tawzifa.com/developers",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://tawzifa.com"
        },
        {
            "key": "apiKey",
            "value": ""
        },
        {
            "key": "job_id",
            "value": ""
        },
        {
            "key": "application_id",
            "value": ""
        },
        {
            "key": "interview_id",
            "value": ""
        },
        {
            "key": "offer_id",
            "value": ""
        },
        {
            "key": "conversation_id",
            "value": ""
        },
        {
            "key": "webhook_id",
            "value": ""
        }
    ],
    "event": [
        {
            "listen": "prerequest",
            "script": {
                "type": "text/javascript",
                "exec": [
                    "const key = pm.variables.get('apiKey') || '';",
                    "const secret = key.slice(key.indexOf('.') + 1);",
                    "const enc = (s) => encodeURIComponent(String(s)).replace(/[!'()*]/g, (c) => '%' + c.charCodeAt(0).toString(16).toUpperCase());",
                    "const path = pm.variables.replaceIn(pm.request.url.getPath());",
                    "const pairs = pm.request.url.query.filter((q) => !q.disabled).map((q) => [enc(q.key), enc(pm.variables.replaceIn(q.value || ''))]);",
                    "pairs.sort((a, b) => (a[0] === b[0] ? (a[1] < b[1] ? -1 : a[1] > b[1] ? 1 : 0) : a[0] < b[0] ? -1 : 1));",
                    "const qs = pairs.map((p) => p.join('=')).join('&');",
                    "const raw = pm.request.body && pm.request.body.mode === 'raw' ? pm.variables.replaceIn(pm.request.body.raw || '') : '';",
                    "const ts = Math.floor(Date.now() / 1000).toString();",
                    "const nonce = CryptoJS.lib.WordArray.random(16).toString();",
                    "const canonical = [pm.request.method, path, qs, ts, nonce, CryptoJS.SHA256(raw).toString()].join('\\n');",
                    "pm.request.headers.upsert({ key: 'Authorization', value: 'Bearer ' + key });",
                    "pm.request.headers.upsert({ key: 'X-Tawzifa-Timestamp', value: ts });",
                    "pm.request.headers.upsert({ key: 'X-Tawzifa-Nonce', value: nonce });",
                    "pm.request.headers.upsert({ key: 'X-Tawzifa-Signature', value: 'v1=' + CryptoJS.HmacSHA256(canonical, secret).toString() });",
                    "if (raw && ['POST', 'PATCH', 'PUT', 'DELETE'].includes(pm.request.method)) {",
                    "  pm.request.headers.upsert({ key: 'Idempotency-Key', value: pm.variables.replaceIn('{{$guid}}') });",
                    "}"
                ]
            }
        }
    ],
    "item": [
        {
            "name": "Company",
            "item": [
                {
                    "name": "Your company profile",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/company",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "company"
                            ]
                        },
                        "description": "Your company profile — scope company:read"
                    }
                },
                {
                    "name": "Update descriptive profile fields",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/company",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "company"
                            ]
                        },
                        "description": "Update descriptive profile fields — scope company:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"about\": \"Facility management company in Cairo.\",\n    \"representative_name\": \"HR Manager\",\n    \"representative_title\": \"Head of HR\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                }
            ]
        },
        {
            "name": "Jobs",
            "item": [
                {
                    "name": "List your jobs",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs"
                            ]
                        },
                        "description": "List your jobs — scope jobs:read"
                    }
                },
                {
                    "name": "Create a job (draft, or publish: true)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs"
                            ]
                        },
                        "description": "Create a job (draft, or publish: true) — scope jobs:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"title\": \"AC maintenance technician\",\n    \"trade_id\": 1,\n    \"area_id\": 1,\n    \"employment_type\": \"full_time\",\n    \"openings\": 2,\n    \"salary_min\": 9000,\n    \"salary_max\": 12000,\n    \"salary_period\": \"month\",\n    \"description\": \"Install and service split AC units at client sites in Cairo.\",\n    \"publish\": false\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Get a job",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs/{{job_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs",
                                "{{job_id}}"
                            ]
                        },
                        "description": "Get a job — scope jobs:read"
                    }
                },
                {
                    "name": "Update a job (only the fields you send)",
                    "request": {
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs/{{job_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs",
                                "{{job_id}}"
                            ]
                        },
                        "description": "Update a job (only the fields you send) — scope jobs:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"title\": \"AC maintenance technician\",\n    \"trade_id\": 1,\n    \"area_id\": 1,\n    \"employment_type\": \"full_time\",\n    \"openings\": 2,\n    \"salary_min\": 9000,\n    \"salary_max\": 12000,\n    \"salary_period\": \"month\",\n    \"description\": \"Install and service split AC units at client sites in Cairo.\",\n    \"publish\": false\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Publish a job",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs/{{job_id}}/publish",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs",
                                "{{job_id}}",
                                "publish"
                            ]
                        },
                        "description": "Publish a job — scope jobs:write"
                    }
                },
                {
                    "name": "Pause a job",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs/{{job_id}}/pause",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs",
                                "{{job_id}}",
                                "pause"
                            ]
                        },
                        "description": "Pause a job — scope jobs:write"
                    }
                },
                {
                    "name": "Close a job",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/jobs/{{job_id}}/close",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "jobs",
                                "{{job_id}}",
                                "close"
                            ]
                        },
                        "description": "Close a job — scope jobs:write"
                    }
                }
            ]
        },
        {
            "name": "Applications",
            "item": [
                {
                    "name": "List applicants (filters: job_id, status, updated_since)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications"
                            ]
                        },
                        "description": "List applicants (filters: job_id, status, updated_since) — scope applications:read"
                    }
                },
                {
                    "name": "Get an applicant",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}"
                            ]
                        },
                        "description": "Get an applicant — scope applications:read"
                    }
                },
                {
                    "name": "A signed CV link valid for 10 minutes",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/cv",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "cv"
                            ]
                        },
                        "description": "A signed CV link valid for 10 minutes — scope applications:read"
                    }
                },
                {
                    "name": "Change status (reviewing, shortlisted, hired, rejected)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/status",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "status"
                            ]
                        },
                        "description": "Change status (reviewing, shortlisted, hired, rejected) — scope applications:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"status\": \"shortlisted\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Private company notes",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/notes",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "notes"
                            ]
                        },
                        "description": "Private company notes — scope applications:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"notes\": \"Strong on VRF systems.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                }
            ]
        },
        {
            "name": "Interviews",
            "item": [
                {
                    "name": "Interviews of an applicant",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/interviews",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "interviews"
                            ]
                        },
                        "description": "Interviews of an applicant — scope applications:read"
                    }
                },
                {
                    "name": "Schedule an interview (Cairo time)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/interviews",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "interviews"
                            ]
                        },
                        "description": "Schedule an interview (Cairo time) — scope interviews:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"starts_at\": \"2026-12-01T10:30\",\n    \"duration_minutes\": 30,\n    \"type\": \"phone\",\n    \"notes\": \"Short phone screen.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Get an interview",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/interviews/{{interview_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "interviews",
                                "{{interview_id}}"
                            ]
                        },
                        "description": "Get an interview — scope applications:read"
                    }
                },
                {
                    "name": "Move an interview",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/interviews/{{interview_id}}/reschedule",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "interviews",
                                "{{interview_id}}",
                                "reschedule"
                            ]
                        },
                        "description": "Move an interview — scope interviews:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"starts_at\": \"2026-12-01T10:30\",\n    \"duration_minutes\": 30,\n    \"type\": \"phone\",\n    \"notes\": \"Short phone screen.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Confirm a time the applicant suggested",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/interviews/{{interview_id}}/confirm",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "interviews",
                                "{{interview_id}}",
                                "confirm"
                            ]
                        },
                        "description": "Confirm a time the applicant suggested — scope interviews:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"slot\": 0\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Cancel an interview",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/interviews/{{interview_id}}/cancel",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "interviews",
                                "{{interview_id}}",
                                "cancel"
                            ]
                        },
                        "description": "Cancel an interview — scope interviews:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"reason\": \"The position was filled.\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Mark attended / no-show",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/interviews/{{interview_id}}/outcome",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "interviews",
                                "{{interview_id}}",
                                "outcome"
                            ]
                        },
                        "description": "Mark attended / no-show — scope interviews:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"attended\": true\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                }
            ]
        },
        {
            "name": "Offers",
            "item": [
                {
                    "name": "Offers of an applicant",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/offers",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "offers"
                            ]
                        },
                        "description": "Offers of an applicant — scope applications:read"
                    }
                },
                {
                    "name": "Send a job offer",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/offers",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "offers"
                            ]
                        },
                        "description": "Send a job offer — scope offers:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"title\": \"AC maintenance technician\",\n    \"salary\": 10000,\n    \"salary_period\": \"month\",\n    \"start_date\": \"2026-12-15\",\n    \"employment_type\": \"full_time\",\n    \"expires_at\": \"2026-12-05T17:00\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Offer status",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/offers/{{offer_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "offers",
                                "{{offer_id}}"
                            ]
                        },
                        "description": "Offer status — scope applications:read"
                    }
                },
                {
                    "name": "Withdraw an offer",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/offers/{{offer_id}}/withdraw",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "offers",
                                "{{offer_id}}",
                                "withdraw"
                            ]
                        },
                        "description": "Withdraw an offer — scope offers:write"
                    }
                }
            ]
        },
        {
            "name": "Messages",
            "item": [
                {
                    "name": "Applicant conversations (filters: updated_since = a message since; unread=1 = unread applicant messages only)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/conversations",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "conversations"
                            ]
                        },
                        "description": "Applicant conversations (filters: updated_since = a message since; unread=1 = unread applicant messages only) — scope messages:read"
                    }
                },
                {
                    "name": "Open (or get) the conversation with an applicant",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/applications/{{application_id}}/conversation",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "applications",
                                "{{application_id}}",
                                "conversation"
                            ]
                        },
                        "description": "Open (or get) the conversation with an applicant — scope messages:write"
                    }
                },
                {
                    "name": "Messages (contact details masked until shared; mark_read=0 keeps the thread unread)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/conversations/{{conversation_id}}/messages",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "conversations",
                                "{{conversation_id}}",
                                "messages"
                            ]
                        },
                        "description": "Messages (contact details masked until shared; mark_read=0 keeps the thread unread) — scope messages:read"
                    }
                },
                {
                    "name": "Send a message",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/conversations/{{conversation_id}}/messages",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "conversations",
                                "{{conversation_id}}",
                                "messages"
                            ]
                        },
                        "description": "Send a message — scope messages:write",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"body\": \"Thanks for applying — are you available on Sunday?\"\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                }
            ]
        },
        {
            "name": "Reference",
            "item": [
                {
                    "name": "Work fields",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/reference/fields",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "reference",
                                "fields"
                            ]
                        },
                        "description": "Work fields — scope reference:read"
                    }
                },
                {
                    "name": "Specialties (trade_id for jobs)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/reference/specialties",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "reference",
                                "specialties"
                            ]
                        },
                        "description": "Specialties (trade_id for jobs) — scope reference:read"
                    }
                },
                {
                    "name": "Areas (area_id for jobs)",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/reference/areas",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "reference",
                                "areas"
                            ]
                        },
                        "description": "Areas (area_id for jobs) — scope reference:read"
                    }
                }
            ]
        },
        {
            "name": "Usage",
            "item": [
                {
                    "name": "Plan, limits and today’s usage",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/usage",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "usage"
                            ]
                        },
                        "description": "Plan, limits and today’s usage — scope usage:read"
                    }
                }
            ]
        },
        {
            "name": "Webhooks",
            "item": [
                {
                    "name": "Webhook endpoints of this key’s mode",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/webhooks",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "webhooks"
                            ]
                        },
                        "description": "Webhook endpoints of this key’s mode — scope webhooks:manage"
                    }
                },
                {
                    "name": "Add an endpoint (secret returned once)",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/webhooks",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "webhooks"
                            ]
                        },
                        "description": "Add an endpoint (secret returned once) — scope webhooks:manage",
                        "body": {
                            "mode": "raw",
                            "raw": "{\n    \"url\": \"https://hr.example.com/webhooks/tawzifa\",\n    \"events\": [\n        \"application.created\",\n        \"offer.accepted\"\n    ]\n}",
                            "options": {
                                "raw": {
                                    "language": "json"
                                }
                            }
                        }
                    }
                },
                {
                    "name": "Delete an endpoint",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application/json"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/api/v1/webhooks/{{webhook_id}}",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "api",
                                "v1",
                                "webhooks",
                                "{{webhook_id}}"
                            ]
                        },
                        "description": "Delete an endpoint — scope webhooks:manage"
                    }
                }
            ]
        }
    ]
}