---
title: "Job posting namespace"
label: "Job posting"
description: "Reference for public plans, job submission, logos, billing verification, and entitlements."
publishedAt: 2026-07-10
updatedAt: 2026-11-19
order: 13
status: "published"
---

Use `board.jobPosting` to build the anonymous public employer posting funnel. These methods do not require an employer account. Check `board.context().features.publicJobSubmission` before exposing the funnel; Cavuno remains the authority for plan availability, billing credit, quotas, approval, invoicing, and publication.

## Shared behavior

Every method returns the Board API wire body unchanged. A non-2xx response throws `BoardApiError`; inspect `status`, `code`, `details`, and `requestId`. The final `FetchOptions` argument passes abort signals, headers, and framework cache directives through to `fetch`.

## `board.jobPosting.plans`

List public plans for the posting wizard.

```ts no-check
board.jobPosting.plans(
  query?: { purpose?: 'job_posting' | 'talent_access' },
  options?: FetchOptions,
): Promise<ListEnvelope<JobPostingPlan>>
```

`purpose` defaults to `job_posting`. Use `talent_access` only when you intentionally need that plan catalog. The list is not cursor-paginated.

```ts
const { data: plans } = await board.jobPosting.plans({
  purpose: 'job_posting',
});

for (const plan of plans) {
  console.log(plan.id, plan.name, plan.prices);
}
```

Each `JobPostingPlan` includes `id`, name/description, kind, billing interval, purpose, ordering/recommendation, invoice settings, price rows in minor units with `isActive`, and feature rows. Pass the chosen plan’s `id` as `submission.selectedPlan` to `create`.

A missing/private board returns 404. This public GET is safe to retry after a transient network failure.

Related method: [`board.jobPosting.create`](#boardjobpostingcreate).

## `board.jobPosting.create`

Submit the complete public job-posting payload and branch on the returned status.

```ts no-check
board.jobPosting.create(
  input: CreateJobPostingInput,
  options?: FetchOptions,
): Promise<JobPostingResult>
```

`CreateJobPostingInput.submission` requires company/contact identity, title, description, employment and remote options, `officeLocations`, `applicationUrl`, and `salaryRangeEnabled`. It can also carry plan, salary, seniority, in-office, featured, remote-permit/timezone, and custom-field data. Top-level options include derived remote projections, `logoUrl`, `selectedBilling`, invoice billing details, `colorMode`, and `checkoutUiMode`. Leave `checkoutUiMode` out (or send `hosted_page`) to get a Stripe-hosted `checkoutUrl`. Send `embedded_page` to get an `embedded_checkout` result you mount on your own page instead.

`marketingConsent` (top level, beside `submission`) is the form's optional marketing checkbox, offered only when the operator asks, unticked and sent only when ticked: `{ granted: true, text, topics? }`, with wording that names the board. The poster then also asks for the board's marketing email at `submission.contactEmail`. It is recorded when the post is submitted, including one held for approval or invoiced (a paid post when its payment arrives), then confirmed by a separate email; nothing is granted until they click it, and the response is the same either way.

```ts
import type { CreateJobPostingInput } from '@cavuno/board';

const input: CreateJobPostingInput = {
  submission: {
    companyName: 'Acme Robotics',
    companyWebsite: 'https://acme.example',
    contactName: 'Jane Lee',
    contactEmail: 'jane@acme.example',
    title: 'Robotics Engineer',
    description: 'Build production robotics systems.',
    employmentType: 'full_time',
    remoteOption: 'remote',
    officeLocations: [],
    applicationUrl: 'https://acme.example/careers/robotics-engineer',
    salaryRangeEnabled: false,
    selectedPlan: 'plans_123',
  },
};

const result = await board.jobPosting.create(input);

switch (result.status) {
  case 'checkout':
    console.log(result.checkoutUrl, result.jobId);
    break;
  case 'embedded_checkout':
    console.log(result.clientSecret, result.stripeAccountId);
    break;
  case 'published':
    console.log(result.jobId, result.jobSlug);
    break;
  case 'pending_approval':
  case 'invoice_sent':
    console.log(result.jobId);
    break;
}
```

`JobPostingResult` has five successful branches:

| `status` | Fields | Next action |
| --- | --- | --- |
| `checkout` | `checkoutUrl`, `jobId` | Redirect only to the URL returned by Cavuno. |
| `embedded_checkout` | `clientSecret`, `sessionId`, `stripeAccountId`, `publishableKey`, `jobId` | Load Stripe.js with `publishableKey` and `stripeAccount: stripeAccountId`, then mount `initEmbeddedCheckout({ clientSecret })`. Returned only when you send `checkoutUiMode: 'embedded_page'`. |
| `published` | `jobId`, `jobSlug` | Link to the published job. |
| `pending_approval` | `jobId` | Show the approval-pending state. |
| `invoice_sent` | `jobId` | Explain the invoice and publication timing. |

A missing/private board returns 404. A closed funnel, invalid plan/quota, or invalid custom field returns `job_posting_rejected` with status 422 rather than another result status. A `marketingConsent.topics` key that names no live topic returns `subscribe_unknown_topic` with status 400 (`details.key` names it), and `marketingConsent.text` that doesn't name the board returns `validation_bad_request` with status 400, both before anything is recorded. Per-IP throttling returns 429; wait before retrying. Do not blindly retry after an unknown response—the first request may already have created a job or checkout. Preserve a local draft and let the poster explicitly continue.

With embedded checkout, cards complete in place and Stripe.js fires `onComplete`. Payment methods that redirect, such as bank redirects, return to the board's `/post/success` page, which your frontend serves in both modes.

Related methods: [`board.jobPosting.plans`](#boardjobpostingplans), [`board.jobPosting.getCheckout`](#boardjobpostinggetcheckout), [`board.jobPosting.uploadLogo`](#boardjobpostinguploadlogo), and [`board.jobPosting.getBillingOptions`](#boardjobpostinggetbillingoptions).

## `board.jobPosting.getCheckout`

Read what became of a paid posting after its checkout.

```ts no-check
board.jobPosting.getCheckout(
  sessionId: string,
  options?: FetchOptions,
): Promise<JobPostingCheckoutStatus>
```

Pass the Checkout Session id: `sessionId` from an `embedded_checkout` result, or the `session_id` query parameter Stripe adds to the `/post/success` return URL. The session id is the only credential, so only the poster's browser holds it.

```ts
const outcome = await board.jobPosting.getCheckout(sessionId);

if (outcome.status === 'paid' && outcome.jobUrl) {
  console.log('Live at', outcome.jobUrl);
}
```

| `status` | Meaning |
| --- | --- |
| `awaiting_payment` | Stripe hasn't confirmed the payment to Cavuno yet. That usually takes seconds, so poll a few times over a few seconds. A delayed payment shows as `processing` once Stripe reports it. |
| `processing` | A delayed payment, such as a bank debit, is clearing. That can take a few business days. |
| `paid` | The payment went through. |
| `payment_failed` | A delayed payment failed. The job stays a draft until a new checkout for it is paid. |
| `canceled` | The checkout expired unpaid. |

`jobStatus` is `published`, `pending_approval` (the board reviews paid posts first) or `unpublished`. `jobUrl` is the job's public URL once it is `published`, otherwise `null`. `jobId` and `jobTitle` let the page name the job.

A session that isn't one of this board's job checkouts returns `job_posting_checkout_not_found` with status 404. The response is never cached, and retrying is safe. Poll a few times, a couple of seconds apart, rather than in a loop. Per-IP throttling returns 429; wait before retrying.

Related method: [`board.jobPosting.create`](#boardjobpostingcreate).

## `board.jobPosting.uploadLogo`

Upload and normalize a company logo for the posting flow.

```ts no-check
board.jobPosting.uploadLogo(
  file: Blob,
  options?: FetchOptions,
): Promise<JobPostingLogoResult>
```

Accepted formats are JPEG, PNG, WebP, and GIF up to 2 MB. The SDK creates multipart `FormData`; do not set the `content-type` header yourself because the runtime must add the boundary.

```ts
const logo = await board.jobPosting.uploadLogo(logoFile);

console.log(logo.publicUrl);
```

The result is `{ object: 'job_posting_logo', publicUrl }`. Pass `publicUrl` back as the top-level `logoUrl` in `CreateJobPostingInput`.

No file returns `validation_bad_request` with status 400. A missing board returns 404. A file over 2 MB returns `media_payload_too_large` with status 413. An unsupported or mismatched image returns `media_unsupported_type` with status 415. Per-IP throttling returns 429. Ask the user to change an invalid file; only retry 429 after waiting.

Related methods: [`board.jobPosting.fetchLogoByDomain`](#boardjobpostingfetchlogobydomain) and [`board.jobPosting.create`](#boardjobpostingcreate).

## `board.jobPosting.fetchLogoByDomain`

Look up a company logo by domain, store it, and return the same logo result as upload.

```ts no-check
board.jobPosting.fetchLogoByDomain(
  domain: string,
  options?: FetchOptions,
): Promise<JobPostingLogoResult>
```

Pass a domain such as `acme.example`, not an arbitrary search phrase.

```ts
const logo = await board.jobPosting.fetchLogoByDomain('acme.example');

console.log(logo.publicUrl);
```

Malformed input returns `validation_bad_request` with status 400. No usable logo returns `job_posting_logo_not_found` with status 404; treat that as an optional missing image and offer upload or continue without a logo. Per-IP throttling returns 429. An unconfigured lookup provider returns `job_posting_logo_lookup_unavailable` with status 503. Back off before retrying 429/503 rather than looping automatically.

Related methods: [`board.jobPosting.uploadLogo`](#boardjobpostinguploadlogo) and [`board.jobPosting.create`](#boardjobpostingcreate).

## `board.jobPosting.sendBillingVerification`

Email a verification token before exposing billing-credit choices.

```ts no-check
board.jobPosting.sendBillingVerification(
  input: { email: string },
  options?: FetchOptions,
): Promise<JobPostingBillingVerification>
```

```ts
const verification = await board.jobPosting.sendBillingVerification({
  email: 'hiring@acme.example',
});

console.log(verification.success);
```

The result is `{ object: 'job_posting_billing_verification', success }`. A missing/private board returns 404. The route has both the shared auth-bucket rate limit and a tighter email/IP throttle; 429 means wait before another user-triggered attempt. Do not automatically retry email delivery, because repeated attempts can send multiple messages.

Related method: [`board.jobPosting.getBillingOptions`](#boardjobpostinggetbillingoptions).

## `board.jobPosting.getBillingOptions`

Exchange the emailed verification token for the credit options the poster may select.

```ts no-check
board.jobPosting.getBillingOptions(
  input: { verificationToken: string },
  options?: FetchOptions,
): Promise<JobPostingBillingOptions>
```

```ts
const billing = await board.jobPosting.getBillingOptions({
  verificationToken,
});

for (const option of billing.options) {
  console.log(option.planName, option.jobsRemaining);
}
```

The result contains `object: 'job_posting_billing_options'` and `options`. Each option includes `id`, type, plan ID/name/kind, capacity rows, total and remaining job/featured allowances, and `renewsAt`. Use the chosen option to construct the top-level `selectedBilling` passed to `create`; do not infer credit from email identity alone.

An empty `options` array is successful. A missing/private board returns 404. Rate limiting returns 429. Retrying once after a transient network failure is safe; do not retry an unchanged token indefinitely.

Related methods: [`board.jobPosting.sendBillingVerification`](#boardjobpostingsendbillingverification) and [`board.jobPosting.create`](#boardjobpostingcreate).

See [Build a job posting flow](/docs/sdk/cookbook/job-posting-flow) for the complete plan, billing, submission, and checkout sequence.
