This connector is optimized for AI agents. For the data replication connector, see Intercom .
This is the full reference documentation for the Intercom agent connector.
Supported entities and actions
The Intercom connector supports the following entities and actions.
Entity Actions Contacts List , Create , Get , Update , Delete , Context Store Search Conversations List , Create , Get , Update , Delete , Context Store Search Companies List , Create , Get , Update , Delete , Context Store Search Teams List , Get , Context Store Search Admins List , Get Tags List , Create , Get , Delete Notes Create Segments List , Get Internal Articles Create , Update , Delete
Returns a paginated list of contacts in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "list"
}'
Python SDK
await intercom . contacts . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of contacts to return per page starting_afterstringNo Cursor for pagination - get contacts after this ID
Response Schema Records Field Name Type Description typestring | nullidstringworkspace_idstring | nullexternal_idstring | nullrolestring | nullemailstring | nullphonestring | nullnamestring | nullavatarstring | nullowner_idinteger | nullsocial_profilesobject | anyhas_hard_bouncedboolean | nullmarked_email_as_spamboolean | nullunsubscribed_from_emailsboolean | nullcreated_atinteger | nullupdated_atinteger | nullsigned_up_atinteger | nulllast_seen_atinteger | nulllast_replied_atinteger | nulllast_contacted_atinteger | nulllast_email_opened_atinteger | nulllast_email_clicked_atinteger | nulllanguage_overridestring | nullbrowserstring | nullbrowser_versionstring | nullbrowser_languagestring | nullosstring | nulllocationobject | anyandroid_app_namestring | nullandroid_app_versionstring | nullandroid_devicestring | nullandroid_os_versionstring | nullandroid_sdk_versionstring | nullandroid_last_seen_atinteger | nullios_app_namestring | nullios_app_versionstring | nullios_devicestring | nullios_os_versionstring | nullios_sdk_versionstring | nullios_last_seen_atinteger | nullcustom_attributesobject | nulltagsobject | anynotesobject | anycompaniesobject | any
Field Name Type Description next_pagestring | null
Create a new contact (user or lead)
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "create",
"params": {
"role": "<str>",
"external_id": "<str>",
"email": "<str>",
"phone": "<str>",
"name": "<str>",
"avatar": "<str>",
"signed_up_at": 0,
"last_seen_at": 0,
"owner_id": 0,
"unsubscribed_from_emails": true,
"custom_attributes": {}
}
}'
Python SDK
await intercom . contacts . create (
role = "<str>" ,
external_id = "<str>" ,
email = "<str>" ,
phone = "<str>" ,
name = "<str>" ,
avatar = "<str>" ,
signed_up_at = 0 ,
last_seen_at = 0 ,
owner_id = 0 ,
unsubscribed_from_emails = True ,
custom_attributes = { }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "create",
"params": {
"role": "<str>",
"external_id": "<str>",
"email": "<str>",
"phone": "<str>",
"name": "<str>",
"avatar": "<str>",
"signed_up_at": 0,
"last_seen_at": 0,
"owner_id": 0,
"unsubscribed_from_emails": True,
"custom_attributes": {}
}
}'
Parameters
Parameter Name Type Required Description rolestringYes The role of the contact (user or lead) external_idstringNo A unique identifier for the contact from your system emailstringNo The contact's email address phonestringNo The contact's phone number namestringNo The contact's full name avatarstringNo An image URL for the contact's avatar signed_up_atintegerNo Sign up timestamp (Unix) last_seen_atintegerNo Last seen timestamp (Unix) owner_idintegerNo The ID of the admin assigned as owner unsubscribed_from_emailsbooleanNo Whether the contact is unsubscribed from emails custom_attributesobjectNo Custom attributes for the contact
Response Schema Records Field Name Type Description typestring | nullidstringworkspace_idstring | nullexternal_idstring | nullrolestring | nullemailstring | nullphonestring | nullnamestring | nullavatarstring | nullowner_idinteger | nullsocial_profilesobject | anyhas_hard_bouncedboolean | nullmarked_email_as_spamboolean | nullunsubscribed_from_emailsboolean | nullcreated_atinteger | nullupdated_atinteger | nullsigned_up_atinteger | nulllast_seen_atinteger | nulllast_replied_atinteger | nulllast_contacted_atinteger | nulllast_email_opened_atinteger | nulllast_email_clicked_atinteger | nulllanguage_overridestring | nullbrowserstring | nullbrowser_versionstring | nullbrowser_languagestring | nullosstring | nulllocationobject | anyandroid_app_namestring | nullandroid_app_versionstring | nullandroid_devicestring | nullandroid_os_versionstring | nullandroid_sdk_versionstring | nullandroid_last_seen_atinteger | nullios_app_namestring | nullios_app_versionstring | nullios_devicestring | nullios_os_versionstring | nullios_sdk_versionstring | nullios_last_seen_atinteger | nullcustom_attributesobject | nulltagsobject | anynotesobject | anycompaniesobject | any
Get a single contact by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . contacts . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Contact ID
Response Schema Records Field Name Type Description typestring | nullidstringworkspace_idstring | nullexternal_idstring | nullrolestring | nullemailstring | nullphonestring | nullnamestring | nullavatarstring | nullowner_idinteger | nullsocial_profilesobject | anyhas_hard_bouncedboolean | nullmarked_email_as_spamboolean | nullunsubscribed_from_emailsboolean | nullcreated_atinteger | nullupdated_atinteger | nullsigned_up_atinteger | nulllast_seen_atinteger | nulllast_replied_atinteger | nulllast_contacted_atinteger | nulllast_email_opened_atinteger | nulllast_email_clicked_atinteger | nulllanguage_overridestring | nullbrowserstring | nullbrowser_versionstring | nullbrowser_languagestring | nullosstring | nulllocationobject | anyandroid_app_namestring | nullandroid_app_versionstring | nullandroid_devicestring | nullandroid_os_versionstring | nullandroid_sdk_versionstring | nullandroid_last_seen_atinteger | nullios_app_namestring | nullios_app_versionstring | nullios_devicestring | nullios_os_versionstring | nullios_sdk_versionstring | nullios_last_seen_atinteger | nullcustom_attributesobject | nulltagsobject | anynotesobject | anycompaniesobject | any
Update an existing contact by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "update",
"params": {
"role": "<str>",
"external_id": "<str>",
"email": "<str>",
"phone": "<str>",
"name": "<str>",
"avatar": "<str>",
"signed_up_at": 0,
"last_seen_at": 0,
"owner_id": 0,
"unsubscribed_from_emails": true,
"custom_attributes": {},
"id": "<str>"
}
}'
Python SDK
await intercom . contacts . update (
role = "<str>" ,
external_id = "<str>" ,
email = "<str>" ,
phone = "<str>" ,
name = "<str>" ,
avatar = "<str>" ,
signed_up_at = 0 ,
last_seen_at = 0 ,
owner_id = 0 ,
unsubscribed_from_emails = True ,
custom_attributes = { } ,
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "update",
"params": {
"role": "<str>",
"external_id": "<str>",
"email": "<str>",
"phone": "<str>",
"name": "<str>",
"avatar": "<str>",
"signed_up_at": 0,
"last_seen_at": 0,
"owner_id": 0,
"unsubscribed_from_emails": True,
"custom_attributes": {},
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description rolestringNo The role of the contact (user or lead) external_idstringNo A unique identifier for the contact from your system emailstringNo The contact's email address phonestringNo The contact's phone number namestringNo The contact's full name avatarstringNo An image URL for the contact's avatar signed_up_atintegerNo Sign up timestamp (Unix) last_seen_atintegerNo Last seen timestamp (Unix) owner_idintegerNo The ID of the admin assigned as owner unsubscribed_from_emailsbooleanNo Whether the contact is unsubscribed from emails custom_attributesobjectNo Custom attributes for the contact idstringYes Contact ID
Response Schema Records Field Name Type Description typestring | nullidstringworkspace_idstring | nullexternal_idstring | nullrolestring | nullemailstring | nullphonestring | nullnamestring | nullavatarstring | nullowner_idinteger | nullsocial_profilesobject | anyhas_hard_bouncedboolean | nullmarked_email_as_spamboolean | nullunsubscribed_from_emailsboolean | nullcreated_atinteger | nullupdated_atinteger | nullsigned_up_atinteger | nulllast_seen_atinteger | nulllast_replied_atinteger | nulllast_contacted_atinteger | nulllast_email_opened_atinteger | nulllast_email_clicked_atinteger | nulllanguage_overridestring | nullbrowserstring | nullbrowser_versionstring | nullbrowser_languagestring | nullosstring | nulllocationobject | anyandroid_app_namestring | nullandroid_app_versionstring | nullandroid_devicestring | nullandroid_os_versionstring | nullandroid_sdk_versionstring | nullandroid_last_seen_atinteger | nullios_app_namestring | nullios_app_versionstring | nullios_devicestring | nullios_os_versionstring | nullios_sdk_versionstring | nullios_last_seen_atinteger | nullcustom_attributesobject | nulltagsobject | anynotesobject | anycompaniesobject | any
Permanently delete a contact by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . contacts . delete (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes The unique identifier of the contact to delete
Response Schema Records Field Name Type Description typestringidstringexternal_idstring | nulldeletedboolean
Contacts Context Store Search
Search and filter contacts records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "contacts",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"android_app_name": "<str>"
}
}
}
}
}'
Python SDK
await intercom . contacts . context_store_search (
query = { "filter" : { "eq" : { "android_app_name" : "<str>" } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"android_app_name": "<str>"}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description android_app_namestringThe name of the Android app associated with the contact. android_app_versionstringThe version of the Android app associated with the contact. android_devicestringThe device used by the contact for Android. android_last_seen_atstringThe date and time when the contact was last seen on Android. android_os_versionstringThe operating system version of the Android device. android_sdk_versionstringThe SDK version of the Android device. avatarstringURL pointing to the contact's avatar image. browserstringThe browser used by the contact. browser_languagestringThe language preference set in the contact's browser. browser_versionstringThe version of the browser used by the contact. companiesobjectCompanies associated with the contact. created_atintegerThe date and time when the contact was created. custom_attributesobjectCustom attributes defined for the contact. emailstringThe email address of the contact. external_idstringExternal identifier for the contact. has_hard_bouncedbooleanFlag indicating if the contact has hard bounced. idstringThe unique identifier of the contact. ios_app_namestringThe name of the iOS app associated with the contact. ios_app_versionstringThe version of the iOS app associated with the contact. ios_devicestringThe device used by the contact for iOS. ios_last_seen_atintegerThe date and time when the contact was last seen on iOS. ios_os_versionstringThe operating system version of the iOS device. ios_sdk_versionstringThe SDK version of the iOS device. language_overridestringLanguage override set for the contact. last_contacted_atintegerThe date and time when the contact was last contacted. last_email_clicked_atintegerThe date and time when the contact last clicked an email. last_email_opened_atintegerThe date and time when the contact last opened an email. last_replied_atintegerThe date and time when the contact last replied. last_seen_atintegerThe date and time when the contact was last seen overall. locationobjectLocation details of the contact. marked_email_as_spambooleanFlag indicating if the contact's email was marked as spam. namestringThe name of the contact. notesobjectNotes associated with the contact. opted_in_subscription_typesobjectSubscription types the contact opted into. opted_out_subscription_typesobjectSubscription types the contact opted out from. osstringOperating system of the contact's device. owner_idintegerThe unique identifier of the contact's owner. phonestringThe phone number of the contact. referrerstringReferrer information related to the contact. rolestringRole or position of the contact. signed_up_atintegerThe date and time when the contact signed up. sms_consentbooleanConsent status for SMS communication. social_profilesobjectSocial profiles associated with the contact. tagsobjectTags associated with the contact. typestringType of contact. unsubscribed_from_emailsbooleanFlag indicating if the contact unsubscribed from emails. unsubscribed_from_smsbooleanFlag indicating if the contact unsubscribed from SMS. updated_atintegerThe date and time when the contact was last updated. utm_campaignstringCampaign data from UTM parameters. utm_contentstringContent data from UTM parameters. utm_mediumstringMedium data from UTM parameters. utm_sourcestringSource data from UTM parameters. utm_termstringTerm data from UTM parameters. workspace_idstringThe unique identifier of the workspace associated with the contact.
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].android_app_namestringThe name of the Android app associated with the contact. data[].android_app_versionstringThe version of the Android app associated with the contact. data[].android_devicestringThe device used by the contact for Android. data[].android_last_seen_atstringThe date and time when the contact was last seen on Android. data[].android_os_versionstringThe operating system version of the Android device. data[].android_sdk_versionstringThe SDK version of the Android device. data[].avatarstringURL pointing to the contact's avatar image. data[].browserstringThe browser used by the contact. data[].browser_languagestringThe language preference set in the contact's browser. data[].browser_versionstringThe version of the browser used by the contact. data[].companiesobjectCompanies associated with the contact. data[].created_atintegerThe date and time when the contact was created. data[].custom_attributesobjectCustom attributes defined for the contact. data[].emailstringThe email address of the contact. data[].external_idstringExternal identifier for the contact. data[].has_hard_bouncedbooleanFlag indicating if the contact has hard bounced. data[].idstringThe unique identifier of the contact. data[].ios_app_namestringThe name of the iOS app associated with the contact. data[].ios_app_versionstringThe version of the iOS app associated with the contact. data[].ios_devicestringThe device used by the contact for iOS. data[].ios_last_seen_atintegerThe date and time when the contact was last seen on iOS. data[].ios_os_versionstringThe operating system version of the iOS device. data[].ios_sdk_versionstringThe SDK version of the iOS device. data[].language_overridestringLanguage override set for the contact. data[].last_contacted_atintegerThe date and time when the contact was last contacted. data[].last_email_clicked_atintegerThe date and time when the contact last clicked an email. data[].last_email_opened_atintegerThe date and time when the contact last opened an email. data[].last_replied_atintegerThe date and time when the contact last replied. data[].last_seen_atintegerThe date and time when the contact was last seen overall. data[].locationobjectLocation details of the contact. data[].marked_email_as_spambooleanFlag indicating if the contact's email was marked as spam. data[].namestringThe name of the contact. data[].notesobjectNotes associated with the contact. data[].opted_in_subscription_typesobjectSubscription types the contact opted into. data[].opted_out_subscription_typesobjectSubscription types the contact opted out from. data[].osstringOperating system of the contact's device. data[].owner_idintegerThe unique identifier of the contact's owner. data[].phonestringThe phone number of the contact. data[].referrerstringReferrer information related to the contact. data[].rolestringRole or position of the contact. data[].signed_up_atintegerThe date and time when the contact signed up. data[].sms_consentbooleanConsent status for SMS communication. data[].social_profilesobjectSocial profiles associated with the contact. data[].tagsobjectTags associated with the contact. data[].typestringType of contact. data[].unsubscribed_from_emailsbooleanFlag indicating if the contact unsubscribed from emails. data[].unsubscribed_from_smsbooleanFlag indicating if the contact unsubscribed from SMS. data[].updated_atintegerThe date and time when the contact was last updated. data[].utm_campaignstringCampaign data from UTM parameters. data[].utm_contentstringContent data from UTM parameters. data[].utm_mediumstringMedium data from UTM parameters. data[].utm_sourcestringSource data from UTM parameters. data[].utm_termstringTerm data from UTM parameters. data[].workspace_idstringThe unique identifier of the workspace associated with the contact.
Conversations
Conversations List
Returns a paginated list of conversations
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "list"
}'
Python SDK
await intercom . conversations . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of conversations to return per page starting_afterstringNo Cursor for pagination
Response Schema Records Field Name Type Description typestring | nullidstringtitlestring | nullcreated_atinteger | nullupdated_atinteger | nullwaiting_sinceinteger | nullsnoozed_untilinteger | nullopenboolean | nullstatestring | nullreadboolean | nullprioritystring | nulladmin_assignee_idinteger | nullteam_assignee_idstring | nulltagsobject | anyconversation_ratingobject | anysourceobject | anycontactsobject | anyteammatesobject | anyfirst_contact_replyobject | anysla_appliedobject | anystatisticsobject | anyconversation_partsobject | anycustom_attributesobject | null
Field Name Type Description next_pagestring | null
Conversations Create
Create a new conversation initiated by a contact (user or lead)
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "create",
"params": {
"from": {
"type": "<str>",
"id": "<str>"
},
"body": "<str>",
"subject": "<str>",
"attachment_urls": [],
"created_at": 0
}
}'
Python SDK
await intercom . conversations . create (
from_ = {
"type" : "<str>" ,
"id" : "<str>"
} ,
body = "<str>" ,
subject = "<str>" ,
attachment_urls = [ ] ,
created_at = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "create",
"params": {
"from": {
"type": "<str>",
"id": "<str>"
},
"body": "<str>",
"subject": "<str>",
"attachment_urls": [],
"created_at": 0
}
}'
Parameters
Parameter Name Type Required Description fromobjectYes The contact (user or lead) initiating the conversation from.type"lead" | "user" | "contact"Yes The type of the contact (lead, user, or contact) from.idstringYes The identifier for the contact as given by Intercom (a 24 character UUID) bodystringYes The content of the initial message in the conversation subjectstringNo The subject line of the conversation (optional) attachment_urlsarray<string>No A list of URLs of attached files (max 10) created_atintegerNo Optional timestamp for the conversation creation (Unix)
Response Schema Records Field Name Type Description typestring | nullidstringcreated_atinteger | nullsubjectstring | nullbodystring | nullmessage_typestring | nullconversation_idstring | null
Conversations Get
Get a single conversation by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . conversations . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Conversation ID
Response Schema Records Field Name Type Description typestring | nullidstringtitlestring | nullcreated_atinteger | nullupdated_atinteger | nullwaiting_sinceinteger | nullsnoozed_untilinteger | nullopenboolean | nullstatestring | nullreadboolean | nullprioritystring | nulladmin_assignee_idinteger | nullteam_assignee_idstring | nulltagsobject | anyconversation_ratingobject | anysourceobject | anycontactsobject | anyteammatesobject | anyfirst_contact_replyobject | anysla_appliedobject | anystatisticsobject | anyconversation_partsobject | anycustom_attributesobject | null
Conversations Update
Update conversation attributes such as custom_attributes or read status
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "update",
"params": {
"read": true,
"custom_attributes": {},
"id": "<str>"
}
}'
Python SDK
await intercom . conversations . update (
read = True ,
custom_attributes = { } ,
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "update",
"params": {
"read": True,
"custom_attributes": {},
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description readbooleanNo Mark the conversation as read or unread custom_attributesobjectNo Custom attributes to set on the conversation idstringYes Conversation ID
Response Schema Records Field Name Type Description typestring | nullidstringtitlestring | nullcreated_atinteger | nullupdated_atinteger | nullwaiting_sinceinteger | nullsnoozed_untilinteger | nullopenboolean | nullstatestring | nullreadboolean | nullprioritystring | nulladmin_assignee_idinteger | nullteam_assignee_idstring | nulltagsobject | anyconversation_ratingobject | anysourceobject | anycontactsobject | anyteammatesobject | anyfirst_contact_replyobject | anysla_appliedobject | anystatisticsobject | anyconversation_partsobject | anycustom_attributesobject | null
Conversations Delete
Permanently delete a conversation by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . conversations . delete (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Conversation ID
Response Schema Records Field Name Type Description idstringobjectstringdeletedboolean
Conversations Context Store Search
Search and filter conversations records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "conversations",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"admin_assignee_id": 0
}
}
}
}
}'
Python SDK
await intercom . conversations . context_store_search (
query = { "filter" : { "eq" : { "admin_assignee_id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "conversations",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"admin_assignee_id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description admin_assignee_idintegerThe ID of the administrator assigned to the conversation ai_agentobjectData related to AI Agent involvement in the conversation ai_agent_participatedbooleanIndicates whether AI Agent participated in the conversation assigneeobjectThe assigned user responsible for the conversation. contactsobjectList of contacts involved in the conversation. conversation_messageobjectThe main message content of the conversation. conversation_ratingobjectRatings given to the conversation by the customer and teammate. created_atintegerThe timestamp when the conversation was created custom_attributesobjectCustom attributes associated with the conversation customer_first_replyobjectTimestamp indicating when the customer first replied. customersarrayList of customers involved in the conversation first_contact_replyobjectTimestamp indicating when the first contact replied. idstringThe unique ID of the conversation linked_objectsobjectLinked objects associated with the conversation openbooleanIndicates if the conversation is open or closed prioritystringThe priority level of the conversation readbooleanIndicates if the conversation has been read redactedbooleanIndicates if the conversation is redacted sent_atintegerThe timestamp when the conversation was sent sla_appliedobjectService Level Agreement details applied to the conversation. snoozed_untilintegerTimestamp until the conversation is snoozed sourceobjectSource details of the conversation. statestringThe state of the conversation (e.g., new, in progress) statisticsobjectStatistics related to the conversation. tagsobjectTags applied to the conversation. team_assignee_idintegerThe ID of the team assigned to the conversation teammatesobjectList of teammates involved in the conversation. titlestringThe title of the conversation topicsobjectTopics associated with the conversation. typestringThe type of the conversation updated_atintegerThe timestamp when the conversation was last updated userobjectThe user related to the conversation. waiting_sinceintegerTimestamp since waiting for a response
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].admin_assignee_idintegerThe ID of the administrator assigned to the conversation data[].ai_agentobjectData related to AI Agent involvement in the conversation data[].ai_agent_participatedbooleanIndicates whether AI Agent participated in the conversation data[].assigneeobjectThe assigned user responsible for the conversation. data[].contactsobjectList of contacts involved in the conversation. data[].conversation_messageobjectThe main message content of the conversation. data[].conversation_ratingobjectRatings given to the conversation by the customer and teammate. data[].created_atintegerThe timestamp when the conversation was created data[].custom_attributesobjectCustom attributes associated with the conversation data[].customer_first_replyobjectTimestamp indicating when the customer first replied. data[].customersarrayList of customers involved in the conversation data[].first_contact_replyobjectTimestamp indicating when the first contact replied. data[].idstringThe unique ID of the conversation data[].linked_objectsobjectLinked objects associated with the conversation data[].openbooleanIndicates if the conversation is open or closed data[].prioritystringThe priority level of the conversation data[].readbooleanIndicates if the conversation has been read data[].redactedbooleanIndicates if the conversation is redacted data[].sent_atintegerThe timestamp when the conversation was sent data[].sla_appliedobjectService Level Agreement details applied to the conversation. data[].snoozed_untilintegerTimestamp until the conversation is snoozed data[].sourceobjectSource details of the conversation. data[].statestringThe state of the conversation (e.g., new, in progress) data[].statisticsobjectStatistics related to the conversation. data[].tagsobjectTags applied to the conversation. data[].team_assignee_idintegerThe ID of the team assigned to the conversation data[].teammatesobjectList of teammates involved in the conversation. data[].titlestringThe title of the conversation data[].topicsobjectTopics associated with the conversation. data[].typestringThe type of the conversation data[].updated_atintegerThe timestamp when the conversation was last updated data[].userobjectThe user related to the conversation. data[].waiting_sinceintegerTimestamp since waiting for a response
Companies
Companies List
Returns a paginated list of companies
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "list"
}'
Python SDK
await intercom . companies . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of companies to return per page starting_afterstringNo Cursor for pagination
Response Schema Records Field Name Type Description typestring | nullidstringapp_idstring | nullnamestring | nullcompany_idstring | nullplanobject | anysizeinteger | nullindustrystring | nullwebsitestring | nullremote_created_atinteger | nullcreated_atinteger | nullupdated_atinteger | nulllast_request_atinteger | nullsession_countinteger | nullmonthly_spendnumber | nulluser_countinteger | nulltagsobject | anysegmentsobject | anycustom_attributesobject | null
Field Name Type Description next_pagestring | null
Companies Create
Create a new company or update an existing one by company_id
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "create",
"params": {
"company_id": "<str>",
"name": "<str>",
"plan": "<str>",
"monthly_spend": 0.0,
"size": 0,
"website": "<str>",
"industry": "<str>",
"custom_attributes": {}
}
}'
Python SDK
await intercom . companies . create (
company_id = "<str>" ,
name = "<str>" ,
plan = "<str>" ,
monthly_spend = 0.0 ,
size = 0 ,
website = "<str>" ,
industry = "<str>" ,
custom_attributes = { }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "create",
"params": {
"company_id": "<str>",
"name": "<str>",
"plan": "<str>",
"monthly_spend": 0.0,
"size": 0,
"website": "<str>",
"industry": "<str>",
"custom_attributes": {}
}
}'
Parameters
Parameter Name Type Required Description company_idstringYes A unique identifier for the company from your system namestringNo The name of the company planstringNo The name of the plan the company is on monthly_spendnumberNo The monthly spend of the company sizeintegerNo The number of employees in the company websitestringNo The URL of the company website industrystringNo The industry the company operates in custom_attributesobjectNo Custom attributes for the company
Response Schema Records Field Name Type Description typestring | nullidstringapp_idstring | nullnamestring | nullcompany_idstring | nullplanobject | anysizeinteger | nullindustrystring | nullwebsitestring | nullremote_created_atinteger | nullcreated_atinteger | nullupdated_atinteger | nulllast_request_atinteger | nullsession_countinteger | nullmonthly_spendnumber | nulluser_countinteger | nulltagsobject | anysegmentsobject | anycustom_attributesobject | null
Companies Get
Get a single company by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . companies . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Company ID
Response Schema Records Field Name Type Description typestring | nullidstringapp_idstring | nullnamestring | nullcompany_idstring | nullplanobject | anysizeinteger | nullindustrystring | nullwebsitestring | nullremote_created_atinteger | nullcreated_atinteger | nullupdated_atinteger | nulllast_request_atinteger | nullsession_countinteger | nullmonthly_spendnumber | nulluser_countinteger | nulltagsobject | anysegmentsobject | anycustom_attributesobject | null
Companies Update
Update an existing company by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "update",
"params": {
"name": "<str>",
"plan": "<str>",
"monthly_spend": 0.0,
"size": 0,
"website": "<str>",
"industry": "<str>",
"custom_attributes": {},
"id": "<str>"
}
}'
Python SDK
await intercom . companies . update (
name = "<str>" ,
plan = "<str>" ,
monthly_spend = 0.0 ,
size = 0 ,
website = "<str>" ,
industry = "<str>" ,
custom_attributes = { } ,
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "update",
"params": {
"name": "<str>",
"plan": "<str>",
"monthly_spend": 0.0,
"size": 0,
"website": "<str>",
"industry": "<str>",
"custom_attributes": {},
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description namestringNo The name of the company planstringNo The name of the plan the company is on monthly_spendnumberNo The monthly spend of the company sizeintegerNo The number of employees in the company websitestringNo The URL of the company website industrystringNo The industry the company operates in custom_attributesobjectNo Custom attributes for the company idstringYes Company ID
Response Schema Records Field Name Type Description typestring | nullidstringapp_idstring | nullnamestring | nullcompany_idstring | nullplanobject | anysizeinteger | nullindustrystring | nullwebsitestring | nullremote_created_atinteger | nullcreated_atinteger | nullupdated_atinteger | nulllast_request_atinteger | nullsession_countinteger | nullmonthly_spendnumber | nulluser_countinteger | nulltagsobject | anysegmentsobject | anycustom_attributesobject | null
Companies Delete
Permanently delete a company by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . companies . delete (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes The unique identifier of the company to delete
Response Schema Records Field Name Type Description idstringobjectstringdeletedboolean
Companies Context Store Search
Search and filter companies records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "companies",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"app_id": "<str>"
}
}
}
}
}'
Python SDK
await intercom . companies . context_store_search (
query = { "filter" : { "eq" : { "app_id" : "<str>" } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"app_id": "<str>"}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description app_idstringThe ID of the application associated with the company company_idstringThe unique identifier of the company created_atintegerThe date and time when the company was created custom_attributesobjectCustom attributes specific to the company idstringThe ID of the company industrystringThe industry in which the company operates monthly_spendnumberThe monthly spend of the company namestringThe name of the company planobjectDetails of the company's subscription plan remote_created_atintegerThe remote date and time when the company was created segmentsobjectSegments associated with the company session_countintegerThe number of sessions related to the company sizeintegerThe size of the company tagsobjectTags associated with the company typestringThe type of the company updated_atintegerThe date and time when the company was last updated user_countintegerThe number of users associated with the company websitestringThe website of the company
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].app_idstringThe ID of the application associated with the company data[].company_idstringThe unique identifier of the company data[].created_atintegerThe date and time when the company was created data[].custom_attributesobjectCustom attributes specific to the company data[].idstringThe ID of the company data[].industrystringThe industry in which the company operates data[].monthly_spendnumberThe monthly spend of the company data[].namestringThe name of the company data[].planobjectDetails of the company's subscription plan data[].remote_created_atintegerThe remote date and time when the company was created data[].segmentsobjectSegments associated with the company data[].session_countintegerThe number of sessions related to the company data[].sizeintegerThe size of the company data[].tagsobjectTags associated with the company data[].typestringThe type of the company data[].updated_atintegerThe date and time when the company was last updated data[].user_countintegerThe number of users associated with the company data[].websitestringThe website of the company
Teams
Teams List
Returns a list of all teams in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "teams",
"action": "list"
}'
Python SDK
await intercom . teams . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "list"
}'
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nulladmin_idsarray<integer>admin_priority_levelobject | any
Teams Get
Get a single team by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "teams",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . teams . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Team ID
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nulladmin_idsarray<integer>admin_priority_levelobject | any
Teams Context Store Search
Search and filter teams records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "teams",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"admin_ids": []
}
}
}
}
}'
Python SDK
await intercom . teams . context_store_search (
query = { "filter" : { "eq" : { "admin_ids" : [ ] } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "teams",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"admin_ids": []}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, like, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description admin_idsarrayArray of user IDs representing the admins of the team. idstringUnique identifier for the team. namestringName of the team. typestringType of team (e.g., 'internal', 'external').
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].admin_idsarrayArray of user IDs representing the admins of the team. data[].idstringUnique identifier for the team. data[].namestringName of the team. data[].typestringType of team (e.g., 'internal', 'external').
Admins
Admins List
Returns a list of all admins in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "admins",
"action": "list"
}'
Python SDK
await intercom . admins . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "admins",
"action": "list"
}'
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullemailstring | nullemail_verifiedboolean | nulljob_titlestring | nullaway_mode_enabledboolean | nullaway_mode_reassignboolean | nullhas_inbox_seatboolean | nullteam_idsarray<integer>avatarobject | any
Admins Get
Get a single admin by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "admins",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . admins . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "admins",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Admin ID
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullemailstring | nullemail_verifiedboolean | nulljob_titlestring | nullaway_mode_enabledboolean | nullaway_mode_reassignboolean | nullhas_inbox_seatboolean | nullteam_idsarray<integer>avatarobject | any
Returns a list of all tags in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "tags",
"action": "list"
}'
Python SDK
await intercom . tags . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "list"
}'
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullapplied_atinteger | nullapplied_byobject | any
Create a new tag or update an existing one
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "tags",
"action": "create",
"params": {
"name": "<str>"
}
}'
Python SDK
await intercom . tags . create (
name = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "create",
"params": {
"name": "<str>"
}
}'
Parameters
Parameter Name Type Required Description namestringYes The name of the tag
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullapplied_atinteger | nullapplied_byobject | any
Get a single tag by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "tags",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . tags . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Tag ID
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullapplied_atinteger | nullapplied_byobject | any
Permanently delete a tag by ID. This removes the tag from all contacts, companies, and conversations.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "tags",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . tags . delete (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tags",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes The unique identifier of the tag to delete
Notes
Notes Create
Create a note on an existing contact
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "notes",
"action": "create",
"params": {
"body": "<str>",
"admin_id": "<str>",
"contact_id": "<str>"
}
}'
Python SDK
await intercom . notes . create (
body = "<str>" ,
admin_id = "<str>" ,
contact_id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "notes",
"action": "create",
"params": {
"body": "<str>",
"admin_id": "<str>",
"contact_id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description bodystringYes The body of the note in HTML format admin_idstringNo The ID of the admin creating the note contact_idstringYes Contact ID to add note to
Response Schema Records Field Name Type Description typestring | nullidstringcreated_atinteger | nullcontactobject | anyauthorobject | anybodystring | null
Segments
Segments List
Returns a list of all segments in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "segments",
"action": "list"
}'
Python SDK
await intercom . segments . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "segments",
"action": "list"
}'
Parameters
Parameter Name Type Required Description include_countbooleanNo Include count of contacts in each segment
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullcreated_atinteger | nullupdated_atinteger | nullperson_typestring | nullcountinteger | null
Segments Get
Get a single segment by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "segments",
"action": "get",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . segments . get (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "segments",
"action": "get",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Segment ID
Response Schema Records Field Name Type Description typestring | nullidstringnamestring | nullcreated_atinteger | nullupdated_atinteger | nullperson_typestring | nullcountinteger | null
Internal Articles
Internal Articles Create
Create a new internal article in the workspace
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "internal_articles",
"action": "create",
"params": {
"title": "<str>",
"body": "<str>",
"owner_id": 0,
"author_id": 0
}
}'
Python SDK
await intercom . internal_articles . create (
title = "<str>" ,
body = "<str>" ,
owner_id = 0 ,
author_id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "internal_articles",
"action": "create",
"params": {
"title": "<str>",
"body": "<str>",
"owner_id": 0,
"author_id": 0
}
}'
Parameters
Parameter Name Type Required Description titlestringYes The title of the article bodystringNo The content of the article in HTML owner_idintegerYes The ID of the owner of the article author_idintegerYes The ID of the author of the article
Response Schema Records Field Name Type Description idinteger | stringtitlestring | nullbodystring | nullowner_idinteger | nullauthor_idinteger | nullcreated_atinteger | nullupdated_atinteger | nulllocalestring | null
Internal Articles Update
Update an existing internal article by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "internal_articles",
"action": "update",
"params": {
"title": "<str>",
"body": "<str>",
"author_id": 0,
"owner_id": 0,
"id": "<str>"
}
}'
Python SDK
await intercom . internal_articles . update (
title = "<str>" ,
body = "<str>" ,
author_id = 0 ,
owner_id = 0 ,
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "internal_articles",
"action": "update",
"params": {
"title": "<str>",
"body": "<str>",
"author_id": 0,
"owner_id": 0,
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description titlestringNo The title of the article bodystringNo The content of the article in HTML author_idintegerNo The ID of the author of the article owner_idintegerNo The ID of the owner of the article idstringYes Internal article ID
Response Schema Records Field Name Type Description idinteger | stringtitlestring | nullbodystring | nullowner_idinteger | nullauthor_idinteger | nullcreated_atinteger | nullupdated_atinteger | nulllocalestring | null
Internal Articles Delete
Permanently delete an internal article by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "intercom",
"entity": "internal_articles",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Python SDK
await intercom . internal_articles . delete (
id = "<str>"
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "internal_articles",
"action": "delete",
"params": {
"id": "<str>"
}
}'
Parameters
Parameter Name Type Required Description idstringYes Internal article ID
Response Schema Records Field Name Type Description idstringobjectstringdeletedboolean