Companies
Make a phone number a company's primary one
PUT
Requires companies:write.
Parameters
idstringrequiredpathCompany ID
phone_ idstringrequiredpathPhone number ID from the contact details
Response
Primary phone number set
400Bad RequestErrorResponse
Invalid id or body
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Company or phone number not found
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: companies:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: companies:write
apikey_ authapiKey in queryAPI key in query string
Scopes: companies:write
