# Read all Notifications

## Upon successful response you will get access token and refresh token

<mark style="color:blue;">`GET`</mark> `https://castleindia.in/emart/public /api/login`

#### Headers

| Name         | Type   | Description      |
| ------------ | ------ | ---------------- |
| Bearer Token | String | application/json |
| secret       | String |                  |

{% tabs %}
{% tab title="200: OK Cake Successfully retrieved" %}
```javascript
{ 
   "1" }
```
{% endtab %}
{% endtabs %}

### IF response fail

```
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>

<head>
	<title>500 Internal Server Error</title>
</head>

<body>
	<h1>Internal Server Error</h1>
	<p>The server encountered an internal error or
		misconfiguration and was unable to complete
		your request.</p>
	<p>Please contact the server administrator at
		<a href="/cdn-cgi/l/email-protection" class="__cf_email__"
			data-cfemail="7f081a1d121e0c0b1a0d3f1a1c131e0c0c51121a1b161e1c160b06511c10511611">[email&#160;protected]</a>
		to inform them of the time this error occurred,
		and the actions you performed just before this error.</p>
	<p>More information about this error may be available
		in the server error log.</p>
	<p>Additionally, a 500 Internal Server Error
		error was encountered while trying to use an ErrorDocument to handle the request.</p>
	<script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>
</body>

</html>
```
