# Find a single proposal by ID

`GET /api/proposal/{id}`

Authentication: no security requirement declared for this operation.

Parameters:

- `select` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `relations` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `where` (query, object, required)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `order` (query, object, optional)
  Type: object
  
  Schema: [Object](https://sourcey-gauzy.pages.dev/api-reference/models/object/index.md)

- `withDeleted` (query, boolean, optional)
  Type: boolean

- `id` (path, string, required)
  Type: string

Responses:

- 200: Proposal found

Content type: application/json

Type: object

Schema: [Proposal](https://sourcey-gauzy.pages.dev/api-reference/models/proposal/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `jobPostUrl` (optional)
  Type: string

- `valueDate` (optional)
  Type: string, date-time

- `jobPostContent` (required)
  Type: string

- `proposalContent` (required)
  Type: string

- `status` (required)
  Type: string
  
  enum: ["SENT","ACCEPTED"]

- `employeeId` (required)
  Type: string

- `organizationContactId` (optional)
  Type: string

- 404: Proposal not found

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/proposal/string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/proposal/string', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('http://localhost:3000/api/proposal/string')
print(response.text)
```
