{"id":3885,"date":"2021-03-19T14:16:37","date_gmt":"2021-03-19T14:16:37","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=3885"},"modified":"2024-02-14T11:40:21","modified_gmt":"2024-02-14T11:40:21","slug":"leadshook-api-spec","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/","title":{"rendered":"Grabing Lead data using Leadshook endpoint via RESTful API"},"content":{"rendered":"\n<p class=\"has-luminous-vivid-amber-background-color has-background wp-block-paragraph\"><strong>PLEASE NOTE:<\/strong> This API document is NOT for LeadsHook&#8217;s API and Webhook nodes.  The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server.  Working with APIs is best done with the help of a developer<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The LeadsHook API is mainly used to &#8216;grab&#8217; your data such as leads via our RESTful API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LeadsHook API is structured around REST, HTTP, and JSON.  API endpoint URLs are organized around resources, such as decision trees and leads.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">LeadsHook uses OAuth2. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1: <\/strong>Access the API Documents here<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"2550\" height=\"806\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png\" alt=\"\" class=\"wp-image-4082\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong> Get Your API Credentials Here<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"2550\" height=\"806\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-24.png\" alt=\"\" class=\"wp-image-4083\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1570\" height=\"838\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-25.png\" alt=\"\" class=\"wp-image-4084\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s more information on <a href=\"https:\/\/www.oauth.com\/oauth2-servers\/redirect-uris\/\" target=\"_blank\" rel=\"noreferrer noopener\">Redirect URLs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PLEASE NOTE: This API document is NOT for LeadsHook&#8217;s API and Webhook nodes. The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server. Working with APIs is best done with the help of a developer Introduction: The LeadsHook API is mainly used to &#8216;grab&#8217; your [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,12,620],"tags":[535,814,813,811,812],"class_list":["post-3885","post","type-post","status-publish","format-standard","hentry","category-general","category-leadshook","category-scripts","tag-api","tag-docs","tag-documentation","tag-spec","tag-specification"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"PLEASE NOTE: This API document is NOT for LeadsHook&#8217;s API and Webhook nodes. The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server. Working with APIs is best done with the help of a developer Introduction: The LeadsHook API is mainly used to &#8216;grab&#8217; your [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-19T14:16:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-14T11:40:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"Grabing Lead data using Leadshook endpoint via RESTful API\",\"datePublished\":\"2021-03-19T14:16:37+00:00\",\"dateModified\":\"2024-02-14T11:40:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/\"},\"wordCount\":115,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-23.png\",\"keywords\":[\"api\",\"docs\",\"documentation\",\"spec\",\"specification\"],\"articleSection\":[\"General\",\"LeadsHook\",\"Scripts\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/\",\"name\":\"Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-23.png\",\"datePublished\":\"2021-03-19T14:16:37+00:00\",\"dateModified\":\"2024-02-14T11:40:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-23.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-23.png\",\"width\":2550,\"height\":806},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/leadshook-api-spec\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Grabing Lead data using Leadshook endpoint via RESTful API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/","og_locale":"en_US","og_type":"article","og_title":"Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base","og_description":"PLEASE NOTE: This API document is NOT for LeadsHook&#8217;s API and Webhook nodes. The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server. Working with APIs is best done with the help of a developer Introduction: The LeadsHook API is mainly used to &#8216;grab&#8217; your [&hellip;]","og_url":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2021-03-19T14:16:37+00:00","article_modified_time":"2024-02-14T11:40:21+00:00","og_image":[{"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png","type":"","width":"","height":""}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"Grabing Lead data using Leadshook endpoint via RESTful API","datePublished":"2021-03-19T14:16:37+00:00","dateModified":"2024-02-14T11:40:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/"},"wordCount":115,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png","keywords":["api","docs","documentation","spec","specification"],"articleSection":["General","LeadsHook","Scripts"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/","url":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/","name":"Grabing Lead data using Leadshook endpoint via RESTful API - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png","datePublished":"2021-03-19T14:16:37+00:00","dateModified":"2024-02-14T11:40:21+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/05\/image-23.png","width":2550,"height":806},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/leadshook-api-spec\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"Grabing Lead data using Leadshook endpoint via RESTful API"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=3885"}],"version-history":[{"count":8,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3885\/revisions"}],"predecessor-version":[{"id":7034,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/3885\/revisions\/7034"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=3885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=3885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=3885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}