🚀 Bar API Documentation

This API bridges your forms to Keela CRM using Browserless automation.

POST /signup

Submit user registration data to Keela via Browserless automation.

Request Body:

{
  "firstName": "John",
  "lastName": "Doe",
  "email": "john@example.com",
  "isScientist": true
}

Success Response (200):

{
  "success": true,
  "message": "Form submitted successfully",
  "data": {
    "email": "john@example.com",
    "firstName": "John",
    "lastName": "Doe",
    "isScientist": true
  }
}

Test the API:

Use tools like Postman, Insomnia, or curl:

curl -X POST https://bar-api.vercel.app/signup \
  -H "Content-Type: application/json" \
  -d '{"firstName":"John","lastName":"Doe","email":"john@example.com","isScientist":true}'

📋 OpenAPI Specification

Download the complete API specification: OpenAPI JSON

🔧 Development

For interactive documentation during development, run locally: npm run start:dev

Then visit: http://localhost:3000/docs