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

# Company Info

> Retrieve or update company details

## Company Details

Retrieve or update details of the company associated with the API key.

### Endpoints

```
GET   /external/v1/company/
PATCH /external/v1/company/
```

### Authentication

> \[!NOTE]
> Requires a valid company API key in the `Authorization` header (format: `Api-Key <key>`).

### GET - Retrieve Company Details

```bash theme={null}
curl -X GET "https://api.firstwork.com/external/v1/company/" \
  -H "Authorization: Api-Key YOUR_API_KEY"
```

### PATCH - Update Company Details

The update operation accepts partial updates — only include the fields you wish to change.

```bash theme={null}
curl -X PATCH "https://api.firstwork.com/external/v1/company/" \
  -H "Authorization: Api-Key YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Company Name"
  }'
```

### Responses

#### 200: OK

Company details returned or updated successfully.

#### 400: Bad Request

Invalid request body.
