> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rxresu.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a new resume

> Creates a new resume with the given name and tags. The slug (its public address) is optional: when omitted it is generated from the name (or is "resume" when autoName is set) and made unique across the user's resumes, and it follows the resume's name until the resume is published or given a slug; when given it must be unique too. Optionally initializes the resume with sample data by setting withSampleData to true, and starts it in a given template. Returns the ID of the newly created resume. Requires authentication.



## OpenAPI

````yaml /spec.json post /resumes
openapi: 3.1.1
info:
  title: Reactive Resume
  version: 6.1.1
  description: >-
    Reactive Resume API. Mutations do not support Idempotency-Key. Do not
    automatically retry POST, PUT, PATCH or DELETE requests after a timeout:
    first read the resource to determine whether the operation succeeded.
    Existing enum values and response shapes are retained for compatibility.
  license:
    name: MIT
    url: https://github.com/reactive-resume/reactive-resume/blob/main/LICENSE
  contact:
    name: Amruth Pillai
    email: amruth@rxresu.me
    url: https://amruthpillai.com
servers:
  - url: https://rxresu.me/api/openapi
security:
  - apiKey: []
  - bearerAuth: []
  - cookieAuth: []
externalDocs:
  url: https://docs.rxresu.me
  description: Reactive Resume Documentation
paths:
  /resumes:
    post:
      tags:
        - Resumes
      summary: Create a new resume
      description: >-
        Creates a new resume with the given name and tags. The slug (its public
        address) is optional: when omitted it is generated from the name (or is
        "resume" when autoName is set) and made unique across the user's
        resumes, and it follows the resume's name until the resume is published
        or given a slug; when given it must be unique too. Optionally
        initializes the resume with sample data by setting withSampleData to
        true, and starts it in a given template. Returns the ID of the newly
        created resume. Requires authentication.
      operationId: createResume
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  description: The name of the resume.
                tags:
                  type: array
                  items:
                    type: string
                  description: The tags of the resume.
                autoName:
                  type: boolean
                  description: >-
                    While true, the resume's name follows its headline until
                    someone renames it.
                slug:
                  type: string
                  description: >-
                    The slug of the resume. Generated from the name, and made
                    unique, when omitted.
                withSampleData:
                  type: boolean
                  default: false
                locale:
                  enum:
                    - af-ZA
                    - am-ET
                    - ar-SA
                    - az-AZ
                    - bg-BG
                    - bn-BD
                    - ca-ES
                    - cs-CZ
                    - da-DK
                    - de-DE
                    - el-GR
                    - en-US
                    - en-GB
                    - es-ES
                    - fa-IR
                    - fi-FI
                    - fr-FR
                    - he-IL
                    - hi-IN
                    - hu-HU
                    - id-ID
                    - it-IT
                    - ja-JP
                    - km-KH
                    - kn-IN
                    - ko-KR
                    - lt-LT
                    - lv-LV
                    - ml-IN
                    - mr-IN
                    - ms-MY
                    - ne-NP
                    - nl-NL
                    - no-NO
                    - or-IN
                    - pl-PL
                    - pt-BR
                    - pt-PT
                    - ro-RO
                    - ru-RU
                    - sk-SK
                    - sl-SI
                    - sq-AL
                    - sr-SP
                    - sv-SE
                    - ta-IN
                    - te-IN
                    - th-TH
                    - tr-TR
                    - uk-UA
                    - uz-UZ
                    - vi-VN
                    - zh-CN
                    - zh-TW
                    - zu-ZA
                  type: string
                  description: >-
                    The resume language. Uses the interface language when
                    omitted.
                template:
                  enum:
                    - azurill
                    - bronzor
                    - chikorita
                    - ditgar
                    - ditto
                    - gengar
                    - glalie
                    - kakuna
                    - lapras
                    - leafish
                    - meowth
                    - onyx
                    - persian
                    - pikachu
                    - porygon
                    - rhyhorn
                    - scizor
                    - smeargle
                  type: string
                  description: >-
                    The template to start in, such as one chosen in the template
                    gallery. The default when omitted.
              required:
                - name
                - tags
      responses:
        '200':
          description: The ID of the newly created resume.
          content:
            application/json:
              schema:
                type: string
                description: The ID of the created resume.
        '400':
          description: '400'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: RESUME_SLUG_ALREADY_EXISTS
                      status:
                        const: 400
                      message:
                        type: string
                        default: A resume with this slug already exists.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: INVALID_SLUG
                      status:
                        const: 400
                      message:
                        type: string
                        default: >-
                          The slug must be at most 64 characters and contain
                          only lowercase letters and numbers, separated by
                          single dashes.
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
        default:
          description: >-
            Structured API error. See status and code; do not branch on message
            text.
          content:
            application/json:
              schema:
                type: object
                required:
                  - defined
                  - code
                  - status
                  - message
                properties:
                  defined:
                    type: boolean
                  code:
                    type: string
                  status:
                    type: integer
                  message:
                    type: string
                  data: {}
      security:
        - apiKey: []
        - bearerAuth: []
        - cookieAuth: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl --request POST "https://rxresu.me/api/openapi/resumes" --header
            "x-api-key: <api-key>" --header "Content-Type: application/json"
            --data '{
              "name": "<string>",
              "tags": [
                "<string>"
              ]
            }'
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: The API key to authenticate requests.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: An OAuth access token issued by this instance for its API/MCP resource.
    cookieAuth:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: >-
        Browser session (secure deployments use the __Secure- prefix). Cookie
        requests must originate from this instance.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.