# POST /api/auth/signin.email.password

Authentication: no security requirement declared for this operation.

Request body: application/json (required)

Type: object

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

- `email` (required)
  Type: string

- `password` (required)
  Type: string

- `includeTeams` (optional)
  Type: boolean

Responses:

- 200: 

## Examples

### cURL

```bash
curl -X POST 'http://localhost:3000/api/auth/signin.email.password' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "email": "string",
  "password": "string",
  "includeTeams": true
}'
```

### JavaScript

```javascript
const body = `{
  "email": "string",
  "password": "string",
  "includeTeams": true
}`;

const response = await fetch('http://localhost:3000/api/auth/signin.email.password', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body,
});

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

### Python

```python
import requests

body = '''{
  "email": "string",
  "password": "string",
  "includeTeams": true
}'''

response = requests.post(
    'http://localhost:3000/api/auth/signin.email.password',
    data=body.encode('utf-8'),
    headers={
        'Content-Type': 'application/json',
    },
)
print(response.text)
```
