Returns a paginated list of contacts. Use offset and limit to paginate through results. See List endpoints for more information about pagination.
Required scope: contacts:read
Rate limit category: Search
Parameters
limit: Optional[int]
Maximum number of records to return. Defaults to 25, maximum 25.
minimum1
maximum25
offset: Optional[int]
Number of records to skip for pagination. Defaults to 0.
minimum0
maximum9007199254740991
Returns
List contacts
from lightfield import Lightfield
client = Lightfield(
api_key="My API Key",
)
contact_list_response = client.contact.list()
print(contact_list_response.data){
"data": [
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
}
}
],
"object": "object",
"totalCount": 0
}Returns Examples
{
"data": [
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
}
}
],
"object": "object",
"totalCount": 0
}