Back to Documentation

Integration Guide

Add ResponseBud to your website in minutes

Quick Integration

The easiest way to integrate ResponseBud is using our embed code. This works with any contact form on your website.

Embed Code
<script>
  (function() {
    const form = document.getElementById('your-contact-form');
    form.addEventListener('submit', async function(e) {
      e.preventDefault();
      
      const formData = new FormData(form);
      const response = await fetch('https://responsebud.com/api/lead', {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify({
          name: formData.get('name'),
          phone: formData.get('phone'),
          message: formData.get('message'),
          organizationId: 'YOUR_ORG_ID'
        })
      });
      
      if (response.ok) {
        // Handle success
        form.reset();
        alert('Thank you! We'll respond shortly.');
      }
    });
  })();
</script>

Find Your Organization ID

You can find your Organization ID in your dashboard under Settings. This is required for the integration to work.

Step-by-Step Instructions

1. Get Your Organization ID

  1. Log into your ResponseBud dashboard
  2. Navigate to Settings
  3. Copy your Organization ID (found at the top of the settings page)

2. Add the Script to Your Website

  1. Open your website's HTML editor or content management system
  2. Find your contact form (usually in a contact page or footer)
  3. Add the embed code above, replacing YOUR_ORG_ID with your actual Organization ID
  4. Update the form field names to match your form (name, phone, message)

3. Test the Integration

  1. Submit a test form on your website
  2. Check your ResponseBud dashboard to see if the lead appears
  3. Verify that an SMS was sent to the phone number provided

API Integration

For more advanced integrations, you can use our REST API directly:

Endpoint

POST https://responsebud.com/api/lead

Request Body

{
  "name": "John Doe",
  "phone": "+1234567890",
  "message": "I'm interested in your services",
  "organizationId": "YOUR_ORG_ID"
}

Response

{
  "success": true,
  "leadId": "123",
  "message": "Lead created and SMS sent"
}

Need Help?

Having trouble with integration? Our support team is here to help.

Contact Support