## A captcha challenge for an application (public)

`GET /api/hr/v1/careers/{subdomain}/challenge`

Module: HR · operationId: `getCareerChallenge` · Tag: Careers · Auth: none

An [ALTCHA](https://altcha.org) proof-of-work challenge (SHA-256), valid for 15 minutes. Solve it with the ALTCHA widget or library and send the base64 payload as `altcha` with the application; each challenge counts once. `503 unavailable` when the platform takes no public applications.

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `subdomain` | path | string | yes | The tenant's subdomain, the address of its careers page (case-insensitive) |

### Responses

- **200** The challenge (pass it to the ALTCHA widget as is) (`application/json`)
- **404** Error (`application/json`)
- **429** Error (`application/json`)
- **503** Error (`application/json`)

Example 200 answer:

```json
{
  "parameters": {
    "algorithm": "SHA-256",
    "cost": 5000,
    "expiresAt": 1795077900,
    "keyLength": 32,
    "keyPrefix": "00",
    "nonce": "EXAMPLE5f2c8a1d9e4b7",
    "salt": "EXAMPLE3b9e1f7a2c64"
  },
  "signature": "EXAMPLE0c4f8a2e6b1d5f9a3c7e"
}
```

### Example request

```bash
curl -X GET 'https://api.mbcom.cloud/api/hr/v1/careers/muster-gmbh/challenge'
```
