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

# Update Company Profile

> Update the authenticated company profile

## Endpoint

```
PATCH /api/v1/companies/me
```

**Base URL**: `http://localhost:3000/api/v1`

<Note>This endpoint requires **Company authentication**.</Note>

## Headers

| Header        | Value                 |
| ------------- | --------------------- |
| Authorization | Bearer {access_token} |

## Request Body

<ParamField body="name" type="string" optional>
  Company name.
</ParamField>

<ParamField body="description" type="string" optional>
  Company description.
</ParamField>

<ParamField body="websiteUrl" type="string" optional>
  Company website URL.
</ParamField>

<ParamField body="phone" type="string" optional>
  Contact phone number.
</ParamField>

<ParamField body="logoUrl" type="string" optional>
  Logo image URL.
</ParamField>

<ParamField body="industry" type="string" optional>
  Industry (e.g., "Technology", "Healthcare", "Finance").
</ParamField>

<ParamField body="size" type="enum" optional>
  Company size. - `SIZE_1_50` - `SIZE_51_200` - `SIZE_201_1000` - `SIZE_1000_PLUS`
</ParamField>

<ParamField body="type" type="enum" optional>
  Company type. - `STARTUP` - `SCALE_UP` - `ENTERPRISE` - `NON_PROFIT` - `GOVERNMENT`
</ParamField>

<ParamField body="headquartersLocation" type="string" optional>
  Headquarters location.
</ParamField>

<ParamField body="foundedYear" type="number" optional>
  Year the company was founded.
</ParamField>

<ParamField body="benefits" type="string" optional>
  Company benefits description.
</ParamField>

<ParamField body="linkedIn" type="string" optional>
  LinkedIn company URL.
</ParamField>

<ParamField body="facebook" type="string" optional>
  Facebook page URL.
</ParamField>

<ParamField body="twitter" type="string" optional>
  Twitter profile URL.
</ParamField>

## Example Request

```json theme={null}
{
  "name": "Tech Corp Updated",
  "description": "Updated description",
  "industry": "Software",
  "size": "SIZE_51_200"
}
```

## Response

```json theme={null}
{
  "success": true,
  "data": {
    "id": "uuid",
    "email": "company@example.com",
    "name": "Tech Corp Updated",
    "description": "Updated description",
    "industry": "Software",
    "size": "SIZE_51_200",
    "twitter": "https://twitter.com/techcorp"
  },
  "message": "Company profile updated successfully",
  "meta": {
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me",
    "method": "PATCH"
  }
}
```

## Error Responses

### 400 Bad Request - Validation Error

```json theme={null}
{
  "success": false,
  "error": {
    "message": [
      "size must be one of the following values: SIZE_1_50, SIZE_51_200, SIZE_201_1000, SIZE_1000_PLUS"
    ],
    "statusCode": 400,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me",
    "method": "PATCH",
    "details": "Bad Request"
  }
}
```

### 401 Unauthorized

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Unauthorized",
    "statusCode": 401,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me",
    "method": "PATCH",
    "details": "Unauthorized"
  }
}
```

### 403 Forbidden

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Forbidden resource",
    "statusCode": 403,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me",
    "method": "PATCH",
    "details": "Forbidden"
  }
}
```

### 404 Not Found

```json theme={null}
{
  "success": false,
  "error": {
    "message": "Failed to update company profile",
    "statusCode": 404,
    "timestamp": "2026-04-23T20:00:00.000Z",
    "path": "/companies/me",
    "method": "PATCH",
    "details": "Not Found"
  }
}
```
