{
	"info": {
		"_postman_id": "af7e8129-f9da-49e2-a63b-f0ca01e533d9",
		"name": "Auth Endpoints",
		"description": "API endpoints for authentication",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "33019973",
		"_collection_link": "https://hello123-6238.postman.co/workspace/doc_scanner~b8c653b2-2c89-482b-92b8-8edde4e7bed1/collection/33019973-af7e8129-f9da-49e2-a63b-f0ca01e533d9?action=share&source=collection_link&creator=33019973"
	},
	"item": [
		{
			"name": "Auth - Me (Check Current User)",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"url": {
					"raw": "{{baseUrl}}/auth/me",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"me"
					]
				},
				"description": "Check current logged-in user or return guest status"
			},
			"response": []
		},
		{
			"name": "Auth - Email Signup",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"email\": \"sayuruvihagana@gmail.com\",\n  \"password\": \"@Qwer1234\"\n}"
				},
				"url": {
					"raw": "{{baseUrl}}/auth/email-signup",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"email-signup"
					]
				},
				"description": "Register a new user with email and password"
			},
			"response": []
		},
		{
			"name": "Auth - Email Verify",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"email\": \"sayuruvihagana@gmail.com\",\n  \"otp\": \"272216\"\n}"
				},
				"url": {
					"raw": "{{baseUrl}}/auth/email-verify",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"email-verify"
					]
				},
				"description": "Verify email OTP and activate account"
			},
			"response": []
		},
		{
			"name": "Auth - Email Signin",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"email\": \"sayuruvihagana@gmail.com\",\n  \"password\": \"@Qwer1234\"\n}"
				},
				"url": {
					"raw": "{{baseUrl}}/auth/email-signin",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"email-signin"
					]
				},
				"description": "Sign in with email and password"
			},
			"response": []
		},
		{
			"name": "request-email-otp",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"email\": \"sayuruvihagana@gmail.com\"\n}"
				},
				"url": {
					"raw": "{{baseUrl}}/auth/request-email-otp",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"request-email-otp"
					]
				},
				"description": "Sign in with email and password"
			},
			"response": []
		},
		{
			"name": "Auth - Logout",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					}
				],
				"url": {
					"raw": "{{baseUrl}}/auth/logout",
					"host": [
						"{{baseUrl}}"
					],
					"path": [
						"auth",
						"logout"
					]
				},
				"description": "Logout current user and destroy session"
			},
			"response": []
		}
	]
}