Skip to main content

Get connection

GET 

/customers/:customer_id/connections/:provider_name

Get connection

Request

Path Parameters

    customer_id stringrequired
    provider_name provider_namerequired

    Possible values: [hubspot, salesforce, pipedrive, zendesk_sell, ms_dynamics_365_sales, zoho_crm, capsule, outreach, gong, apollo, salesloft, intercom, linear, clearbit, 6sense, marketo, salesforce_marketing_cloud_account_engagement, slack]

Responses

Connection

Schema
    id stringrequired
    application_id stringrequired
    customer_id stringrequired
    provider_id stringrequired
    provider_name provider_namerequired

    Possible values: [hubspot, salesforce, pipedrive, zendesk_sell, ms_dynamics_365_sales, zoho_crm, capsule, outreach, gong, apollo, salesloft, intercom, linear, clearbit, 6sense, marketo, salesforce_marketing_cloud_account_engagement, slack]

    category categoryrequired

    Possible values: [crm, engagement, enrichment, marketing_automation, no_category]

    instance_url stringrequired

    Instance URL for the connected customer.

    schema_mappings_config objectdeprecated

    This is for field mappings when you data model using Objects. The field mappings here are set by your customers using the Field Mappings API.

    common_objects object[]
  • Array [
  • object stringrequired
    field_mappings object[]required
  • Array [
  • schema_field stringrequired
    mapped_field string
  • ]
  • ]
  • standard_objects object[]
  • Array [
  • object stringrequired
    field_mappings object[]required
  • Array [
  • schema_field stringrequired
    mapped_field string
  • ]
  • ]
  • entity_mappings object[]deprecated

    This is for object/field mappings when you data model using Entities. The object/field mappings here are set by your customers using the Entity Mappings API.

  • Array [
  • entity_id stringrequired
    object object
    type stringrequired

    Possible values: [standard, custom]

    name stringrequired
    field_mappings object[]
  • Array [
  • entity_field stringrequired

    The name of the field in your application.

    mapped_field stringrequired

    The name of the field in your customer's third-party Provider tool (e.g. Salesforce).

  • ]
  • ]
  • connection_sync_config object
    destination_config object

    An object to override the default Destination configuration per connection.

    oneOf
    type stringrequired

    Possible values: [postgres]

    schema stringrequired

    The schema you'd like to sync to. This schema must already exist. Supaglue will not create it. If not specified, the schema specified in the Postgres Destination will be used.

    standard_objects object[]

    A list of case-sensitive Provider standard objects to by synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]
  • custom_objects object[]

    (Preview) A list of case-sensitive Provider custom objects to be synced. If specified, this list will take override the custom_objects list in SyncConfig.

  • Array [
  • oneOf
    object stringrequired

    The Provider object name (case sensitive)

  • ]
Loading...