Connect AlifOffice to Zapier via REST API


Zapier's "Webhooks by Zapier" action can call any REST API. Connect it to AlifOffice to automatically create CRM entries from form submissions, payments, or calendar bookings.


What You Can Build



Step 1 — Get an API Key


Log into AlifOffice → Dashboard → Developer → API Keys → Create key.


Copy the key: ao_xxxxxxxx...


Step 2 — Set Up Zapier Webhook Action


In your Zap, add a "Webhooks by Zapier" action step:


bash
Action:  POST
URL:     https://alifoffice.com/api/v1/crm/contacts
Headers:
  Authorization: Bearer ao_your_key_here
  X-Workspace:   your-workspace-slug
  Content-Type:  application/json
Data:    (see below)

Create a Contact from a Form


Map form fields to the API body:


json
{
  "first_name":   "{{First Name}}",
  "last_name":    "{{Last Name}}",
  "email":        "{{Email}}",
  "company_name": "{{Company}}",
  "job_title":    "{{Job Title}}",
  "type":         "person"
}

Create a Deal from a Stripe Payment


Trigger: Stripe → New Payment


json
{
  "title":    "{{Customer Name}} — {{Product Name}}",
  "stage":    "won",
  "amount":   "{{Amount}}",
  "currency": "{{Currency}}"
}

Create a Task from a Calendly Booking


Trigger: Calendly → Invitee Created


bash
URL: https://alifoffice.com/api/v1/projects/YOUR_PROJECT_ID/tasks

json
{
  "title":    "Call with {{Invitee Name}}",
  "status":   "todo",
  "priority": "high",
  "due_date": "{{Event Start Date}}"
}

Mark Invoice Paid from Stripe


bash
Action:  POST
URL:     https://alifoffice.com/api/v1/invoice/invoices/INVOICE_ID/mark-paid
Headers: Authorization: Bearer ao_your_key
         X-Workspace:   your-workspace

Available Endpoints


| Action | Method | Path |

|--------|--------|------|

| Create contact | POST | /api/v1/crm/contacts |

| Create deal | POST | /api/v1/crm/deals |

| Create project | POST | /api/v1/projects |

| Create task | POST | /api/v1/projects/{id}/tasks |

| Create invoice | POST | /api/v1/invoice/invoices |

| Mark invoice paid | POST | /api/v1/invoice/invoices/{id}/mark-paid |


Tip: Use the /api/v1/tools/readme endpoint to get the full list of available API paths — no need to read the docs, just curl https://alifoffice.com/api/v1/tools/readme.