Request a company agreement
/api/partner/v1/companies/{company_id}/agreementsCall this endpoint only when GET /me returns permissions.request_agreements as true. It requires an owner whose workspace enables company agreement requests. The company must be registered and have an available deal with a site contact. Supply the address and kit count. A signer name and email must be present in this request or saved at registration. If a referral match needs attention, the response identifies attribution_review. Poll the agreement history for signing progress.
Authentication Send your OAuth access token as a Bearer token with the partner.lifecycle scope.
Parameters
company_idpath · required · string · max length 160The partner_company_id from registration, or the operating_company_id of a signed, credited company.
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
Company agreement request.
application/json
kitsinteger · min 1, max 50 · requiredaddressstring · max length 300 · requiredsignerobjectFields for signer
namestring · max length 200emailstring · email, max length 254titlestring · max length 120
signer_namestring · max length 200Overrides signer.name and the name saved during registration.
signer_emailstring · email, max length 254Overrides signer.email and the address saved during registration.
signer_titlestring · max length 120hours_monthvariantFields for hours_month
Format 1
integer · min 1, max 100000
Format 2
null
notesstring · max length 2000ratevariantFields for rate
Format 1
number · Optional company-specific request, subject to the account's agreement.
Format 2
null
phonescolby | ownRequest kit phones or straps for supported company-owned phones.
request
{
"kits": 3,
"address": "100 Example Way, Example City, AZ 85001",
"phones": "colby",
"signer": {
"name": "Example Signer",
"email": "signer@example.invalid",
"title": "Owner"
}
}Responses
200 · 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
202 · Agreement request accepted or attribution review required. A replay may return the saved request receipt.
Response headers include X-Request-Id.
application/json
Format 1
Format 1
idvariant · requiredFields for id
Format 1
string · max length 160
Format 2
null
statusstring · requiredroutevariant · requiredFields for route
Format 1
string
Format 2
null
Format 2
statusattribution_review · requiredrequired_actionstring · required
Format 2
request_idstring · requiredstateprocessing | complete | reconcile · requiredhttp_statusinteger or null · requiredresultobject or null · required
requested
{
"id": "agreement_demo_01",
"status": "sent",
"route": null
}review
{
"status": "attribution_review",
"required_action": "Resolve the referral match before sending an agreement."
}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 caller is a team member or agreement requests are disabled for this workspace.
application/json
errorstring · required
teamMember
{
"error": "owner_only"
}workspaceDisabled
{
"error": "contracts_disabled"
}404 · The resource is unknown or outside this account.
application/json
errorstring · requireddetailstringrequest_idstring
409 · Resource state or idempotency conflict.
application/json
errorstring · requireddetailstringrequest_idstring
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
