Register a company
/api/partner/v1/companiesSupply a stable external ID unique within your partner account, a legal name, a state, and a site contact with an email or phone. Save the returned partner_company_id for onboarding. An operating_company_id appears once a completed agreement and current credit are verified. Registering a company does not send an agreement.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
Idempotency-Keyheader · required · stringOne key per intended change within this OAuth connection. Reuse only with the original method, path, query and JSON body.
Request body
Partner registration and contact details.
application/json
Format 1
Format 1
variant
Format 2
variant
Format 2
Format 1
variant
Format 2
variant
company
{
"external_id": "service-company-001",
"legal_name": "Example Field Services",
"state": "AZ",
"trade": "Building services",
"region": "Southwest",
"site_lead": {
"name": "Example Site Lead",
"email": "site-lead@example.invalid"
},
"signer": {
"name": "Example Signer",
"email": "signer@example.invalid",
"title": "Owner"
}
}Responses
200 · The matching company was previously registered under this external ID. A replay may return the saved request receipt.
Response headers include X-Request-Id.
application/json
Format 1
idstring · max length 160 · requiredpartner_company_idstring · max length 160 · requiredoperating_company_idvariant · requiredFields for operating_company_id
Format 1
string · max length 160
Format 2
null
external_idstring · max length 160 · requirednamestring · max length 200 · requiredtradevariant · requiredFields for trade
Format 1
string
Format 2
null
regionvariant · requiredFields for region
Format 1
string
Format 2
null
created_atstring · date-time · required
Format 2
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
existing
{
"id": "company_demo_01",
"partner_company_id": "company_demo_01",
"operating_company_id": null,
"external_id": "service-company-001",
"name": "Example Field Services",
"trade": "Building services",
"region": "Southwest",
"created_at": "2027-03-02T16:30:00Z"
}201 · Company registered.
Response headers include X-Request-Id.
application/json
idstring · max length 160 · requiredpartner_company_idstring · max length 160 · requiredoperating_company_idvariant · requiredFields for operating_company_id
Format 1
string · max length 160
Format 2
null
external_idstring · max length 160 · requirednamestring · max length 200 · requiredtradevariant · requiredFields for trade
Format 1
string
Format 2
null
regionvariant · requiredFields for region
Format 1
string
Format 2
null
created_atstring · date-time · required
registered
{
"id": "company_demo_01",
"partner_company_id": "company_demo_01",
"operating_company_id": null,
"external_id": "service-company-001",
"name": "Example Field Services",
"trade": "Building services",
"region": "Southwest",
"created_at": "2027-03-02T16:30:00Z"
}202 · Operation receipt on retry. Inspect http_status and fetch the current resource.
Response headers include X-Request-Id.
application/json
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
400 · Invalid input. Correct the request and use a new key for changed input.
application/json
errorstring · requireddetailstringrequest_idstring
401 · Missing, expired, revoked or wrong-resource access token.
application/json
errorstring · requireddetailstringrequest_idstring
403 · The signed account or role lacks access to this operation.
application/json
errorstring · requireddetailstringrequest_idstring
404 · The resource is unknown or outside this account.
application/json
errorstring · requireddetailstringrequest_idstring
409 · The external ID conflicts or the registration is being reconciled. Query by external_id to check its status.
application/json
errorstring · required
refused
{
"error": "This external ID belongs to a different registered company."
}429 · Rate limit reached. Back off and retry.
application/json
errorstring · requireddetailstringrequest_idstring
503 · Service or provider unavailable. Check the operation receipt before retrying a write.
application/json
errorstring · requireddetailstringrequest_idstring
