Skip to main content

SignUp Email Notification

Sends a transactional email to notifications@searchcompany.ai via Loops.so when a new user signs up.

Endpoint

POST /webhooks/notifications/new-user-signup

Features

  • Async/Non-blocking: Returns immediately, email sends in background
  • Template ID: cmkage83y0h340i03ba18pjww

Request Body

FieldTypeRequiredDescription
user_emailstringYesEmail of the new user
user_namestringNoName of the new user
org_namestringNoOrganization name
org_slugstringNoOrganization slug

Example Request

{
  "user_email": "newuser@example.com",
  "user_name": "John Doe",
  "org_name": "Acme Corp",
  "org_slug": "acme-corp-123456"
}

Example Response

{
  "status": "queued",
  "message": "New user signup notification queued",
  "template_id": "cmkage83y0h340i03ba18pjww"
}

Internal Usage

from src.app.webhooks.notifications.routes import notify_new_signup

await notify_new_signup(
    user_email="user@example.com",
    user_name="John Doe",
    org_name="Acme Corp",
    org_slug="acme-corp-123456"
)