Pular para o conteúdo

Get Company

GET
/api/v1/companies/{company_id}

Get a specific company by ID.

company_id
required
Company Id
integer
x-tenant-id
Any of:
integer

Successful Response

CompanyResponse

Schema for company response.

object
name
required
Name
string
legal_name
Any of:
string
cnpj
Any of:
string
email
Any of:
string format: email
phone
Any of:
string
website
Any of:
string
address_line1
Any of:
string
address_line2
Any of:
string
city
Any of:
string
state
Any of:
string
postal_code
Any of:
string
country
Any of:
string
industry
Any of:
string
company_size
Any of:
string
annual_revenue
Any of:
number
logo_url
Any of:
string
tags
Any of:
string
status
Status
string
default: lead
source
Any of:
string
notes
Any of:
string
owner_id
Any of:
integer
id
required
Id
integer
is_active
required
Is Active
boolean
last_contact_date
Any of:
string format: date-time
contract_start_date
Any of:
string format: date-time
contract_end_date
Any of:
string format: date-time
created_at
required
Created At
string format: date-time
updated_at
Any of:
string format: date-time
contacts_count
Any of:
integer
custom_fields
Any of:
object

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string