---
title: "Create account users posts mapping"
method: POST
path: "/api/v1/job/account_users_posts_mappings"
tags: ["Job::AccountUsersPostsMappings"]
---

# Create account users posts mapping

`POST /api/v1/job/account_users_posts_mappings`

## Request

- Base URL: `https://api.flexiple.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flexiple.com/api/v1/job/account_users_posts_mappings`
- Auth: HTTP bearer

## Request body

- object
  - `job_post_id` integer, required
  - `mappings` object[], required
    - `account_user_id` integer, required
    - `role` 'recruiter' | 'hiring_manager' | 'other', required

## Response `201`

mapping created

- object
  - `data` JobAccountUsersPostsMapping[], required
    - `id` integer, required
    - `role` 'recruiter' | 'hiring_manager' | 'other', required
    - `is_active` boolean, nullable, required
    - `job_post_id` integer, required
    - `account_user_id` integer, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `recommendation_stats` object[]
      - `day` string, required
      - `target` number, required
      - `actual` number, required
    - `job_post` DropdownPost, required
      - `value` integer, required
      - `label` string, required
    - `account_user` AccountDisplayUser, required
      - `id` integer, required
      - `email` string, required
      - `role` 'client' | 'talent' | 'admin', required
      - `first_name` string, nullable, required
      - `last_name` string, nullable, required
  - `meta` object, nullable

## Other responses

- `400`: invalid parameters
- `401`: authentication failed
- `422`: duplicate mapping

---

[API](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1.md) - [All operations](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/flexiple/apis/flexiple-platform-api-v1/revisions/27e7987859f2?raw)
