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

# Add Application to Workspace

> Adds an application to an workspace by specifying the workspace and application IDs.

<ParamField path="org_id" type="string" required>
  The ID of the workspace to add the application to.
</ParamField>

<ParamField path="app_id" type="string" required>
  The ID of the application to add to the workspace.
</ParamField>

### Response

<ResponseExample>
  ```json Response theme={null}
  {}
  ```
</ResponseExample>

### Error Responses

<ResponseField name="code" type="string">
  The error code indicating the reason for failure. Possible values:

  * `FORBIDDEN`: The user is not authenticated, lacks sufficient permissions, or is not an owner/admin of the workspace.
  * `APP_NOT_FOUND`: The specified application does not exist or does not belong to the user.
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message providing additional details about the error.
</ResponseField>

<ResponseExample>
  ```json Error Response (403) theme={null}
  {
    "code": "FORBIDDEN"
  }
  ```

  ```json Error Response (404) theme={null}
  {
    "code": "APP_NOT_FOUND"
  }
  ```
</ResponseExample>
