> ## 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.

# Bulk update applications

> Applies the same change (move stage, archive/unarchive, add tags) to multiple applications at once. A closedReason requires every selected application to be Closed already, or status/laneId to move them to Closed. Contradictory selections fail atomically. Requires authentication.



## OpenAPI

````yaml /spec.json patch /applications
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:
  /applications:
    patch:
      tags:
        - Applications
      summary: Bulk update applications
      description: >-
        Applies the same change (move stage, archive/unarchive, add tags) to
        multiple applications at once. A closedReason requires every selected
        application to be Closed already, or status/laneId to move them to
        Closed. Contradictory selections fail atomically. Requires
        authentication.
      operationId: patchApplications
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  minItems: 1
                  maxItems: 200
                  items:
                    type: string
                status:
                  enum:
                    - saved
                    - applied
                    - screening
                    - interview
                    - offer
                    - closed
                  type: string
                laneId:
                  type: string
                  minLength: 1
                closedReason:
                  anyOf:
                    - enum:
                        - accepted
                        - not-selected
                        - withdrew
                        - accepted-other
                        - no-response
                      type: string
                    - type: 'null'
                addTags:
                  type: array
                  items:
                    type: string
                expectedStages:
                  type: array
                  maxItems: 200
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      status:
                        enum:
                          - saved
                          - applied
                          - screening
                          - interview
                          - offer
                          - closed
                        type: string
                      laneId:
                        anyOf:
                          - type: string
                          - type: 'null'
                      closedReason:
                        anyOf:
                          - enum:
                              - accepted
                              - not-selected
                              - withdrew
                              - accepted-other
                              - no-response
                            type: string
                          - type: 'null'
                      stageEntryId:
                        anyOf:
                          - type: string
                          - type: 'null'
                        description: >-
                          The ID of its latest stage change in `activity` then,
                          so a move away and back counts too.
                    required:
                      - id
                      - status
                      - closedReason
                  description: >-
                    The stage each application had when the move was chosen. An
                    application whose stage has changed since is left as it is,
                    so a later move wins over a deferred one.
              required:
                - ids
      responses:
        '200':
          description: The number of applications updated.
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated:
                    type: number
                  stages:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        status:
                          enum:
                            - saved
                            - applied
                            - screening
                            - interview
                            - offer
                            - closed
                          type: string
                        laneId:
                          anyOf:
                            - type: string
                            - type: 'null'
                        closedReason:
                          anyOf:
                            - enum:
                                - accepted
                                - not-selected
                                - withdrew
                                - accepted-other
                                - no-response
                              type: string
                            - type: 'null'
                        stageEntryId:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - id
                        - status
                        - laneId
                        - closedReason
                        - stageEntryId
                    description: >-
                      Each counted application's stage as saved, with the ID of
                      its latest stage change: what a later move of it expects.
                required:
                  - updated
                  - stages
        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 PATCH "https://rxresu.me/api/openapi/applications"
            --header "x-api-key: <api-key>" --header "Content-Type:
            application/json" --data '{
              "ids": [
                "<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.