{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unified CRM Accounts StandardObjects API",
    "version": "0.25.7"
  },
  "items": [
    {
      "info": {
        "name": "StandardObjects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List standard object records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.supaglue.io/crm/v2/standard_objects/:object_name/records",
            "headers": [
              {
                "name": "x-customer-id",
                "value": "my-customer-1"
              },
              {
                "name": "x-provider-name",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "object_name",
                "value": "MyCustomObject__c",
                "type": "path",
                "description": "The unique name of the custom object. For Salesforce, this should end with __c. For Hubspot, this will typically be the singular form of the object."
              },
              {
                "name": "read_from_cache",
                "value": "true",
                "type": "query",
                "description": "Whether to read from Supaglue's Managed Destination cache or to read directly from the provider. \n\n\n**NOTE**: `read_from_cache=true` requires you to have the object synced to the Supaglue Managed Destination.\n"
              },
              {
                "name": "modified_after",
                "value": "2023-02-23T00:00:00Z",
                "type": "query",
                "description": "If provided, will only return objects modified after this datetime. Datetime must be in ISO 8601 format and URI encoded."
              },
              {
                "name": "page_size",
                "value": "123",
                "type": "query",
                "description": "Number of results to return per page. (Max: 1000)"
              },
              {
                "name": "cursor",
                "value": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
                "type": "query",
                "description": "The pagination cursor value"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "List standard object records\nNote: This endpoint will only work if a Sync is setup with the Supaglue managed destination.\n\nSupport:\n\n| Provider    | Supported |\n| ----------- | --------- |\n| Hubspot     | Yes       |\n| Salesforce  | Yes       |\n| Pipedrive   | No        |\n| MS Dynamics | No        |\n"
        },
        {
          "info": {
            "name": "Create standard object record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.supaglue.io/crm/v2/standard_objects/:object_name/records",
            "headers": [
              {
                "name": "x-customer-id",
                "value": "my-customer-1"
              },
              {
                "name": "x-provider-name",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "object_name",
                "value": "MyCustomObject__c",
                "type": "path",
                "description": "The unique name of the custom object. For Salesforce, this should end with __c. For Hubspot, this will typically be the singular form of the object."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Create standard object record\n\nSupport:\n\n| Provider    | Supported |\n| ----------- | --------- |\n| Hubspot     | Yes       |\n| Salesforce  | Yes       |\n| Pipedrive   | No        |\n| MS Dynamics | No        |\n"
        },
        {
          "info": {
            "name": "Get standard object record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.supaglue.io/crm/v2/standard_objects/:object_name/records/:record_id",
            "headers": [
              {
                "name": "x-customer-id",
                "value": "my-customer-1"
              },
              {
                "name": "x-provider-name",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "object_name",
                "value": "MyCustomObject__c",
                "type": "path",
                "description": "The unique name of the custom object. For Salesforce, this should end with __c. For Hubspot, this will typically be the singular form of the object."
              },
              {
                "name": "record_id",
                "value": "82de27cb-6f8c-4278-b783-82d1d916eddc",
                "type": "path",
                "description": "The ID of the record to retrieve or update"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Get standard object record\n\nSupport:\n\n| Provider    | Supported |\n| ----------- | --------- |\n| Hubspot     | Yes       |\n| Salesforce  | Yes       |\n| Pipedrive   | No        |\n| MS Dynamics | No        |\n"
        },
        {
          "info": {
            "name": "Update standard object record",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.supaglue.io/crm/v2/standard_objects/:object_name/records/:record_id",
            "headers": [
              {
                "name": "x-customer-id",
                "value": "my-customer-1"
              },
              {
                "name": "x-provider-name",
                "value": "salesforce"
              }
            ],
            "params": [
              {
                "name": "object_name",
                "value": "MyCustomObject__c",
                "type": "path",
                "description": "The unique name of the custom object. For Salesforce, this should end with __c. For Hubspot, this will typically be the singular form of the object."
              },
              {
                "name": "record_id",
                "value": "82de27cb-6f8c-4278-b783-82d1d916eddc",
                "type": "path",
                "description": "The ID of the record to retrieve or update"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "x-api-key",
              "value": "{{x-api-key}}",
              "placement": "header"
            }
          },
          "docs": "Update standard object record\n\nSupport:\n\n| Provider    | Supported |\n| ----------- | --------- |\n| Hubspot     | Yes       |\n| Salesforce  | Yes       |\n| Pipedrive   | No        |\n| MS Dynamics | No        |\n"
        }
      ]
    }
  ],
  "bundled": true
}