Pass the menu and read the page

SignupFolio

Signup company records in HubSpot: 4 API requests

Your signup flow can use four HubSpot CRM API requests to manage a company record: create it, read it back, update it, and delete it. Each is a plain HTTP verb against the companies endpoint, and pairing them with a server-side HTTP endpoint lets signups from your own flow land as CRM records.

Key takeaways

  • Create — POST to /crm/v3/objects/companies on every new signup to turn a form submission into a company record.
  • Read — GET /crm/v3/objects/companies/{companyId} to confirm the write landed, or GET /crm/v3/objects/companies to list all companies for reconciliation.
  • Update — PATCH /crm/v3/objects/companies/{companyId} with only the changed properties when signup data evolves later.
  • Delete — DELETE /crm/v3/objects/companies/{companyId} on account removal or a data request, after agreeing on trigger conditions with your CRM owner.
  • Keep the HubSpot write server-side so the private app credential never sits in browser code, and prefer authenticated webhooks over IP allowlisting, since Twilio notes its HTTP API service IPs are not static.

Why signup events should create company records

A signup is the first honest signal a company is real. It arrives with a domain, a plan choice, a timestamp, maybe a billing country. If that signal only lands in a product database, your growth team loses it. Sales can't see it. Lifecycle campaigns can't fire on it. Attribution reports go blank.

When each signup creates a company record in HubSpot, the CRM becomes the shared view. Marketing sees new accounts. Sales sees the firmographic context before the first call. Success teams inherit the record when the trial converts. The record also carries whatever custom properties you define at signup time—plan tier, source campaign, seat count—without a second system of truth.

The technical path is simple. HubSpot exposes a CRM API for company objects. You make standard HTTP calls against one endpoint family. Signups are written to the existing company object.

How signups reach your endpoint

Your signup flow produces an event. That event must reach your integration code. A common pattern is an HTTP endpoint your product posts to whenever someone completes signup. The Segment HTTP Tracking API lets you record analytics data from any website or application, as Twilio's HTTP API Source documentation describes. That pattern generalizes: a public HTTP endpoint receives the payload, and your server-side code turns it into a HubSpot call.

Keep the HubSpot write server-side. Your private app credential must never sit in browser code. The signup page posts to your backend, your backend validates the payload, and then it issues the HubSpot request. That layer also gives you a place to dedupe, to map form fields to CRM properties, and to log failures for retry.

If you plan to receive inbound traffic from outside your own network—for example, a webhook from a payment provider or a signup form hosted on a third-party domain—know one operational caveat. The public IP addresses of the HTTP API service are not static and may change without notice, Twilio notes in the same documentation. Static IP allowlists break. Prefer authenticated webhooks or signed payloads over IP rules whenever the sending service allows it. For a checklist, see checks for verifying webhook senders. Where a vendor only offers IP allowlisting, ask them for their current address list and a change-notification channel before you commit.

What belongs in the signup payload

Send the smallest set of fields that lets HubSpot build a useful company. Domain, name, and the properties your lifecycle logic depends on are enough to start. Leave out anything your CRM team hasn't mapped to a property, to avoid write errors from unmapped fields.

Decide who owns each field. The signup form owns what the visitor typed. Your enrichment tool may own industry or employee band. HubSpot should not be the place where two sources fight over one column. Pick a source of truth for each property before you write the first record.

The four requests your integration needs

The integration uses four requests: create, read, update, and delete. Each is a plain HTTP verb against the companies endpoint, documented in HubSpot's CRM API Companies reference.

Create: the signup writes a company

The moment a signup completes, your backend makes a POST request to /crm/v3/objects/companies. That single call is what turns a form submission into a CRM company. The documentation states it directly: "To create new companies, make a POST request to /crm/v3/objects/companies."

Shape the request body with the properties object your HubSpot portal defines. Map signup fields to those property names ahead of time. If a form field has no matching property, either create the property first or drop the field from the payload.

Because this request runs on every signup, treat it as the critical path. Wrap it with a retry for transient failures, and log the response body when HubSpot rejects the write. A silent failure means a signup with no company record and no alert.

Here is the side-by-side view of the five calls, with read split into get-one and list:

ActionHTTP verbEndpointWhen your signup flow uses it
Create companyPOST/crm/v3/objects/companiesOn every new signup
Get one companyGET/crm/v3/objects/companies/{companyId}To verify the record after write
List companiesGET/crm/v3/objects/companiesTo sync or audit the full set
Update companyPATCH/crm/v3/objects/companies/{companyId}When signup data changes later
Delete companyDELETE/crm/v3/objects/companies/{companyId}On account removal or data request

Read: confirm the record exists

After the POST returns, you hold a company ID. Use it. A GET request to /crm/v3/objects/companies/{companyId} retrieves that individual company so you can confirm HubSpot stored what you intended. The reference page says: "To retrieve an individual company, make a GET request to /crm/v3/objects/companies/{companyId}."

This read-back is not busywork. Fetching the record right after creation surfaces mapping mistakes in your logs instead of in next quarter's pipeline review.

You can also read the collection. A GET request to /crm/v3/objects/companies requests a list of all companies. Use it during reconciliation, when you want to compare your product's signup list against what HubSpot holds. Check the HubSpot companies reference for paging options, so you're not pulling the entire database every night.

Update: the signup's company keeps living

Companies don't stay still. A trial converts. A plan changes. An account moves from one workspace to another. Each change becomes a PATCH request to /crm/v3/objects/companies/{companyId}, carrying only the data you want to update. As HubSpot puts it: "To update an individual company by its company ID, make a PATCH request to /crm/v3/objects/companies/{companyId}, and include the data you want to update."

Send only the properties that changed. Narrow updates keep ownership boundaries clean.

Anchor updates on the company ID you stored at signup, not on a domain lookup at update time. Domains change, subsidiaries merge, and re-resolving by name creates duplicate records.

Delete: the rare fourth call

A DELETE request to /crm/v3/objects/companies/{companyId} removes an individual company by its ID. That is the straightforward description in HubSpot's documentation.

In practice, you reach for this call less than the other three. Use it when an account is truly gone—erasure requests, test accounts you've agreed to purge, or a signup that was flagged as fraudulent before it ever became a real customer. Before wiring it up, agree with your CRM owner on the trigger conditions. Confirm with your CRM owner what a delete affects, since that consequence lives beyond your integration code.

Some teams prefer a status property over deletion. That keeps history but changes what reports count. Either path is defensible; pick one deliberately.

Putting the four calls into a signup flow

Take a concrete path through the system. A visitor submits the signup form. Your backend validates the payload and maps fields to HubSpot property names. It issues the create call against /crm/v3/objects/companies. The response hands back a company ID. You store that ID alongside the account in your product database.

Next, you read the company back by ID to confirm the write landed. From then on, product events that change company-level facts—plan upgrades, seat additions, region changes—trigger PATCH calls keyed on that stored ID. You never re-resolve by domain, because a domain is not a stable key across the life of an account.

Periodically, you run the list endpoint against your own signup index. Gaps on either side become a work item: a signup with no company, or a company with no signup. That reconciliation catches the failures your retry logic missed.

When an account is removed under an agreed policy, the delete call runs against the stored ID, and your product record is marked accordingly. The four calls, in order of how often you'll send them, cover create, verify, maintain, and remove.

Illustrative example: a launch-day burst

Suppose a launch brings 100 signups in one hour. Later, one list call compares your signup index against HubSpot. If it matches 95 of the 100 signups, the 5 gaps become work items for your team to review.

Failure modes worth testing before launch

Test these four scenarios before you call the integration done:

  • A signup with an unknown property. Decide whether to drop the field or create the property first. Confirm the behavior matches what your CRM team expects.
  • A create call that succeeds but returns a payload you can't parse. Make sure you still capture the company ID, because every later call depends on it.
  • A PATCH sent with stale data. Confirm your update payload carries only the intended change so you don't undo a colleague's edit.
  • A delete fired against the wrong ID. Add a guard: require the stored signup-to-company mapping to match before the call is issued.

Run each test against a test portal first. A delete mistake in production is not a rollback you want to explain.

Access, permissions, and who can call what

A credential that can create but not read leaves you blind after every write. A credential that can delete but shouldn't is an incident waiting to happen.

Give the integration the least access that still lets it do its job. For a signup flow, create, read, and update are the core calls. Add delete only after you've agreed on the trigger and the owner of that decision.

Separate credentials for each environment. Your test integration and your production integration should never share a credential. Rotate on a schedule, and store the value in your secret manager, not in a config file in the repo.

If a person on your team will run the list endpoint manually during reconciliation, have them use their own login rather than the integration credential. That keeps the audit trail honest about who pulled the data and when.

Handling scale, retries, and ordering

Signup volume is bursty. A launch, a paid campaign, or a viral thread can produce a cluster of creates in seconds. Your backend should queue those writes rather than fire them in parallel from the request handler. A queue lets you control concurrency, retry with backoff, and inspect failures without blocking the visitor.

Ordering matters when a signup and an immediate update race each other. If your product sends a PATCH before the POST completes, the update finds no company ID and fails. Serialize updates for each account: hold the update until the create returns and the ID is stored. That single rule prevents a whole class of "record exists but is missing fields" bugs.

Retries should be idempotent where possible. If your create call is retried after a timeout that actually succeeded on HubSpot's side, you can end up with two companies for one signup. Attach a unique key from your side—your account ID as a property—and check for an existing match before re-issuing the create. For the broader retry rules, see signup API error checks before retry.

Log every response status and a short payload summary. When a growth lead asks why a signup isn't showing up, the log is the answer. Keep logs long enough to cover your reconciliation window.

Testing, staging, and going live

Use a test account for the full path. Create a company through your signup flow. Read it back. Change a property through your product's edit screen and confirm the PATCH fired. Run the list call and confirm your test record appears. For the endpoint side, signup endpoint response checks cover what to verify.

Test the delete path last and with a record you created in the test, never with one that came from a real signup. Verify that deletion actually removes the record and that your own database no longer references it.

Go live behind a flag. Route a small slice of signups through the integration, watch the logs for a day, then widen. Keep the old path available as a rollback while you confirm that create, read-back, and update all behave under real traffic.

Once stable, turn on reconciliation. Schedule the list call against your signup index on a cadence your team will actually review. An unreviewed report is the same as no report.

Your next step today

Before you write any code, list the signup fields you plan to send and check each one against an existing company property in your HubSpot portal. Note who owns each field. Any field without a matching property goes on a to-do list instead of into the payload.

Common questions

Can I create the company from the browser instead of my backend? You could, but you shouldn't. The credential would be exposed in client code. Keep the HubSpot call on your server where the secret lives and where you can validate the payload first.

What if two signups share the same domain? Target the company ID you receive on create rather than the domain. Store your own account ID as a property on the company so later updates target the right record even when domains collide.

Do I need all four calls for a minimal launch? You need create on day one. Add read-back immediately, because verifying the write catches mapping mistakes early. Update comes with the first product event that changes a company fact. Delete can wait until you've agreed on its trigger with your CRM owner.

Where should I ask about property limits or plan-specific quotas? Those details live with your HubSpot admin and your account team.

Does the list endpoint page by default? Check the HubSpot companies reference for its paging options before you build the reconciliation job, so you don't pull every company in one call.

Sources and check date

Related posts

More posts