> For the complete documentation index, see [llms.txt](https://doc-api.blurit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc-api.blurit.io/api-v1/using-the-api-v1/api-documentation/models.md).

# Models

## The LoginRequest object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"LoginRequest":{"type":"object","required":["clientId","secretId"],"properties":{"clientId":{"type":"string","description":"Client Id available in the Developer Account section"},"secretId":{"type":"string","description":"Secret ID available in the Developer Account section"}}}}}}
```

## The LoginResponse object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"LoginResponse":{"type":"object","required":["token","refreshToken","expiresIn"],"properties":{"token":{"type":"string","description":"JWT token for authentication"},"refreshToken":{"type":"string","description":"Token used to refresh the JWT token"},"expiresIn":{"type":"integer","format":"int32","description":"Token expiration time in seconds"}}}}}}
```

## The TokenRequest object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"TokenRequest":{"type":"object","required":["refreshToken"],"properties":{"refreshToken":{"type":"string","description":"Refresh token received from login"}}}}}}
```

## The TokenResponse object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"TokenResponse":{"type":"object","required":["token","refreshToken","expiresIn"],"properties":{"token":{"type":"string","description":"New JWT token"},"refreshToken":{"type":"string","description":"New refresh token"},"expiresIn":{"type":"integer","format":"int32","description":"Token expiration time in seconds"}}}}}}
```

## The BaseErrorResponse object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```

## The Error400 object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"Error400":{"allOf":[{"$ref":"#/components/schemas/BaseErrorResponse"}]},"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```

## The Error401 object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"Error401":{"allOf":[{"$ref":"#/components/schemas/BaseErrorResponse"}]},"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```

## The Error402 object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"Error402":{"allOf":[{"$ref":"#/components/schemas/BaseErrorResponse"}]},"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```

## The Error403 object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"Error403":{"allOf":[{"$ref":"#/components/schemas/BaseErrorResponse"}]},"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```

## The Error413 object

```json
{"openapi":"3.0.1","info":{"title":"Wassa Innovation Services API","version":"1.0.0"},"components":{"schemas":{"Error413":{"allOf":[{"$ref":"#/components/schemas/BaseErrorResponse"}]},"BaseErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"Error message"},"code":{"type":"string","description":"Error code"}}}}}}
```
