Before you start, make sure your inquiry pipeline is created, saved, and active. Test with one pipeline before building more integrations.
Find Your API Details
Both the API endpoint and Organization API Key come from the same screen in Z360.- Go to Settings → Product → Inquiries.
- Find the pipeline you want to use.
- Open the menu on that pipeline (three dots).
- Click Generate Link.
- Open the API tab.
- Copy the Endpoint (e.g.,
https://beta.z360.biz/forms/{id}/api). - Copy the Organization API Key (Bearer Token).
Required Fields
Z360 requires four fields for every submission:| Field | Key | Example |
|---|---|---|
| First Name | First Name | "John" |
| Last Name | Last Name | "Doe" |
Email | "john@example.com" | |
| Phone Number | Phone Number | "+15555555555" |
"consent": true in the request body (outside of form_data).
How Authentication Works
Z360 uses your Organization API Key as a Bearer token. Every request must include this header:Send the Request
Every request must include:- Method: POST
- Format: JSON
- Body: all lead fields inside
form_data - Header:
Authorization: Bearer YOUR_ORGANIZATION_API_KEY - Recommended header:
Accept: application/json
YOUR_ORGANIZATION_API_KEY with the exact API Key from the same screen. Replace the sample values with your real test data.
Example success response:
Optional Fields
Depending on your setup, you can also passstage_id, source_id, assigned_user_ids, and consent. If you already selected default values in Generate Link, those may already be included in the generated API URL.
What to Give Your Developer
Share the following with whoever is setting up the integration:- The Endpoint copied from Generate Link → API
- The Organization API Key
- A screenshot of the API tab
- The exact field names from your pipeline form
Rotating or Revoking the API Key
You can revoke the key from the Generate Link → API screen. Once you revoke the key, all existing integrations using it will stop working immediately. Have the new key ready to update everywhere before revoking.Troubleshooting
- 401 Unauthorized — The API key is missing, wrong, or formatted incorrectly. Check that your Authorization header is correct and has no extra spaces.
- 422 Unprocessable Entity — A required field is missing, or the email or phone number is invalid. Check that all field names match your form exactly.
- HTML page instead of JSON error — Add the
Accept: application/jsonheader and try again. - Unknown field error — The integration is sending a field name that does not exist in the pipeline. Check the exact field names in your form.
- Duplicate lead not created — Z360 blocks duplicate submissions for the same pipeline when the same email has already been used.
- Request fails unexpectedly or returns an authentication error — Check that the pipeline’s communication channel is still configured. If someone removes or changes the communication channel on the pipeline, the integration may fail even if the API key and fields are correct. Go to Settings → Product → Inquiries, open the pipeline, and make sure it has an active communication channel assigned.
Quick Summary
- Go to Settings → Product → Inquiries.
- Open Generate Link → API tab.
- Copy the endpoint and API key.
- Send a POST request with your lead fields inside
form_data. - Add
Accept: application/jsonif your tool allows custom headers. - Test with a real sample lead before going live.
Tips
- Start with one pipeline only. Add more after the first one works.
- Test with your own email and phone number first before connecting live data.
- Copy field names exactly — do not type them from memory.
- Confirm the inquiry appears in the correct pipeline after each test.
- Prepend +1 if your source sends phone numbers without country codes before they reach Z360.
- Save a screenshot of your working configuration for your team.
