# \ContactsApi
All URIs are relative to *https://zernio.com/api*
[**bulk_create_contacts**](ContactsApi.md#bulk_create_contacts) | **POST** /v1/contacts/bulk | Bulk create contacts
[**create_contact**](ContactsApi.md#create_contact) | **POST** /v1/contacts | Create a contact
[**delete_contact**](ContactsApi.md#delete_contact) | **DELETE** /v1/contacts/{contactId} | Delete a contact
[**get_contact**](ContactsApi.md#get_contact) | **GET** /v1/contacts/{contactId} | Get contact with channels
[**get_contact_channels**](ContactsApi.md#get_contact_channels) | **GET** /v1/contacts/{contactId}/channels | List channels for a contact
[**list_contacts**](ContactsApi.md#list_contacts) | **GET** /v1/contacts | List contacts
[**update_contact**](ContactsApi.md#update_contact) | **PATCH** /v1/contacts/{contactId} | Update a contact
## bulk_create_contacts
> models::BulkCreateContacts200Response bulk_create_contacts(bulk_create_contacts_request)
Bulk create contacts
Import up to 1000 contacts at a time. Skips duplicates.
### Parameters
**bulk_create_contacts_request** | [**BulkCreateContactsRequest**](BulkCreateContactsRequest.md) | | [required] |
### Return type
[**models::BulkCreateContacts200Response**](bulkCreateContacts_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## create_contact
> models::CreateContact200Response create_contact(create_contact_request)
Create a contact
Create a new contact. Optionally create a platform channel in the same request by providing accountId, platform, and platformIdentifier.
### Parameters
**create_contact_request** | [**CreateContactRequest**](CreateContactRequest.md) | | [required] |
### Return type
[**models::CreateContact200Response**](createContact_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_contact
> delete_contact(contact_id)
Delete a contact
### Parameters
**contact_id** | **String** | | [required] |
### Return type
(empty response body)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_contact
> models::GetContact200Response get_contact(contact_id)
Get contact with channels
### Parameters
**contact_id** | **String** | | [required] |
### Return type
[**models::GetContact200Response**](getContact_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_contact_channels
> models::GetContactChannels200Response get_contact_channels(contact_id)
List channels for a contact
### Parameters
**contact_id** | **String** | | [required] |
### Return type
[**models::GetContactChannels200Response**](getContactChannels_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_contacts
> models::ListContacts200Response list_contacts(profile_id, search, tag, platform, is_subscribed, limit, skip)
List contacts
List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and full-text search.
### Parameters
**profile_id** | Option<**String**> | Filter by profile. Omit to list across all profiles | |
**search** | Option<**String**> | | |
**tag** | Option<**String**> | | |
**platform** | Option<**String**> | | |
**is_subscribed** | Option<**String**> | | |
**limit** | Option<**i32**> | | |[default to 50]
**skip** | Option<**i32**> | | |[default to 0]
### Return type
[**models::ListContacts200Response**](listContacts_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## update_contact
> models::UpdateContact200Response update_contact(contact_id, update_contact_request)
Update a contact
### Parameters
**contact_id** | **String** | | [required] |
**update_contact_request** | Option<[**UpdateContactRequest**](UpdateContactRequest.md)> | | |
### Return type
[**models::UpdateContact200Response**](updateContact_200_response.md)
### Authorization
[bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)