Pular para o conteúdo

List Contacts

GET
/api/v1/contacts

List contacts with pagination and filters.

page
Page
integer
default: 1 >= 1
per_page
Per Page
integer
default: 20 >= 1 <= 100
search
Any of:
string
company_id
Any of:
integer
tags
Any of:
string
is_active
Any of:
boolean
owner_id
Any of:
integer
x-tenant-id
Any of:
integer

Successful Response

ContactListResponse

Schema for paginated contact list.

object
total
required
Total
integer
page
required
Page
integer
per_page
required
Per Page
integer
contacts
required
Contacts
Array<object>
ContactResponse

Schema for contact response.

object
full_name
required
Full Name
string
email
Any of:
string format: email
phone
Any of:
string
mobile
Any of:
string
job_title
Any of:
string
company_id
Any of:
integer
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
linkedin_url
Any of:
string
twitter_handle
Any of:
string
avatar_url
Any of:
string
tags
Any of:
string
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
created_at
required
Created At
string format: date-time
updated_at
Any of:
string format: date-time
company_name
Any of:
string
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