For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Overview
    • Introduction
    • Response Codes
  • API Reference
      • GETGet template
      • PUTUpdate template
      • DELDelete template
      • GETList templates
      • POSTCreate template
LogoLogo
API ReferenceTemplates

Get template

||View as Markdown|
GET
https://hublinks.io/rest/accounts/:account_id/templates/:template_id
GET
/rest/accounts/:account_id/templates/:template_id
$curl -G https://hublinks.io/rest/accounts/account_id/templates/template_id \
> -H "X-API-KEY: <apiKey>" \
> -d group=account_abc_workflows
200Response
1{
2 "success": true,
3 "template": {
4 "name": "Business Coaches - US",
5 "group": "account_workflows",
6 "workflow": {
7 "edges": [
8 {
9 "id": "start-node-undefined-node-fbf15000-c0fb8a547791-undefined",
10 "type": "workflow",
11 "style": {
12 "opacity": 1
13 },
14 "source": "start-node",
15 "target": "node-fbf15000-c0fb8a547791",
16 "selectable": false
17 },
18 {
19 "id": "node-fbf15000-c0fb8a547791-undefined-node-46c3eb1d-78531a1e1815-undefined",
20 "type": "workflow",
21 "style": {
22 "opacity": 1
23 },
24 "source": "node-fbf15000-c0fb8a547791",
25 "target": "node-46c3eb1d-78531a1e1815",
26 "selectable": false
27 },
28 {
29 "id": "node-46c3eb1d-78531a1e1815-undefined-node-9299d274-cc559b70a7b1-undefined",
30 "type": "workflow",
31 "style": {
32 "opacity": 1
33 },
34 "source": "node-46c3eb1d-78531a1e1815",
35 "target": "node-9299d274-cc559b70a7b1",
36 "selectable": false
37 },
38 {
39 "id": "node-9299d274-cc559b70a7b1-undefined-node-9ed200e3-54298e1b8a62-undefined",
40 "type": "workflow",
41 "style": {
42 "opacity": 1
43 },
44 "source": "node-9299d274-cc559b70a7b1",
45 "target": "node-9ed200e3-54298e1b8a62",
46 "selectable": false
47 },
48 {
49 "id": "node-9ed200e3-54298e1b8a62-true-node-cf9a98d0-af01a26074f6-undefined",
50 "type": "workflow",
51 "style": {
52 "opacity": 1
53 },
54 "source": "node-9ed200e3-54298e1b8a62",
55 "target": "node-cf9a98d0-af01a26074f6",
56 "selectable": false,
57 "sourceHandle": "true"
58 },
59 {
60 "id": "node-cf9a98d0-af01a26074f6-undefined-node-77512e81-87459ecfa4d9-undefined",
61 "type": "workflow",
62 "style": {
63 "opacity": 1
64 },
65 "source": "node-cf9a98d0-af01a26074f6",
66 "target": "node-77512e81-87459ecfa4d9",
67 "selectable": false
68 },
69 {
70 "id": "node-77512e81-87459ecfa4d9-undefined-node-6aaee5fd-acf3f25e5904-undefined",
71 "type": "workflow",
72 "style": {
73 "opacity": 1
74 },
75 "source": "node-77512e81-87459ecfa4d9",
76 "target": "node-6aaee5fd-acf3f25e5904",
77 "selectable": false
78 },
79 {
80 "id": "node-6aaee5fd-acf3f25e5904-undefined-node-12b89370-72f9626573f3-undefined",
81 "type": "workflow",
82 "style": {
83 "opacity": 1
84 },
85 "source": "node-6aaee5fd-acf3f25e5904",
86 "target": "node-12b89370-72f9626573f3",
87 "selectable": false
88 },
89 {
90 "id": "node-9ed200e3-54298e1b8a62-false-node-60f748cc-bbd90c13d921-undefined",
91 "type": "workflow",
92 "style": {
93 "opacity": 1
94 },
95 "source": "node-9ed200e3-54298e1b8a62",
96 "target": "node-60f748cc-bbd90c13d921",
97 "selectable": false,
98 "sourceHandle": "false"
99 },
100 {
101 "id": "node-60f748cc-bbd90c13d921-true-node-f51d96ff-9d93b919927e-undefined",
102 "type": "workflow",
103 "style": {
104 "opacity": 1
105 },
106 "source": "node-60f748cc-bbd90c13d921",
107 "target": "node-f51d96ff-9d93b919927e",
108 "selectable": false,
109 "sourceHandle": "true"
110 }
111 ],
112 "nodes": [
113 {
114 "id": "start-node",
115 "data": {
116 "icon": "FaRegPaperPlane",
117 "title": "Once it begins..."
118 },
119 "type": "start-node",
120 "style": {
121 "opacity": 1
122 },
123 "measured": {
124 "width": 200,
125 "height": 45
126 },
127 "position": {
128 "x": 247,
129 "y": 12
130 },
131 "selected": false
132 },
133 {
134 "id": "node-fbf15000-c0fb8a547791",
135 "data": {
136 "icon": "string",
137 "title": "View profile",
138 "stats": {
139 "A_s": 3,
140 "total_f": 0,
141 "total_m": 0,
142 "total_s": 3
143 },
144 "action": "ln_profile_view"
145 },
146 "type": "action-node",
147 "style": {
148 "opacity": 1
149 },
150 "measured": {
151 "width": 280,
152 "height": 108
153 },
154 "position": {
155 "x": 247,
156 "y": 212
157 },
158 "selected": false
159 },
160 {
161 "id": "node-46c3eb1d-78531a1e1815",
162 "data": {
163 "icon": "string",
164 "title": "Follow profile",
165 "delay": 0,
166 "stats": {
167 "A_f": 1,
168 "A_s": 2,
169 "total_f": 1,
170 "total_m": 0,
171 "total_s": 2
172 },
173 "action": "ln_profile_follow",
174 "variants": [
175 {
176 "body": "",
177 "name": "Variant A"
178 }
179 ]
180 },
181 "type": "action-node",
182 "style": {
183 "opacity": 1
184 },
185 "measured": {
186 "width": 280,
187 "height": 108
188 },
189 "position": {
190 "x": 247,
191 "y": 412
192 },
193 "selected": false
194 },
195 {
196 "id": "node-9299d274-cc559b70a7b1",
197 "data": {
198 "icon": "string",
199 "title": "Invite to connect",
200 "delay": 3,
201 "stats": {
202 "A_s": 3,
203 "total_f": 0,
204 "total_m": 0,
205 "total_s": 3
206 },
207 "action": "ln_profile_invite",
208 "variants": [
209 {
210 "body": "",
211 "name": "Variant A"
212 }
213 ]
214 },
215 "type": "action-node",
216 "style": {
217 "opacity": 1
218 },
219 "measured": {
220 "width": 280,
221 "height": 108
222 },
223 "position": {
224 "x": 247,
225 "y": 612
226 },
227 "selected": false
228 },
229 {
230 "id": "node-9ed200e3-54298e1b8a62",
231 "data": {
232 "icon": "string",
233 "title": "If profile connected",
234 "wait": 120,
235 "condition": "ln_profile_connected",
236 "wait_if_condition": "false"
237 },
238 "type": "condition-node",
239 "style": {
240 "opacity": 1
241 },
242 "measured": {
243 "width": 280,
244 "height": 74
245 },
246 "position": {
247 "x": 247,
248 "y": 812
249 },
250 "selected": false
251 },
252 {
253 "id": "node-cf9a98d0-af01a26074f6",
254 "data": {
255 "icon": "string",
256 "title": "Send Linkedin message",
257 "delay": 24,
258 "action": "ln_profile_message",
259 "variants": [
260 {
261 "body": "Hey {{FIRST_NAME}}, quick question: is getting in front of new clients feeling harder than the actual coaching work?\n\nHublinks helps coaches automate 1:1-style outreach on Linkedin and email, so you can grow your audience and attract leads without being glued to social media.\n\nIf you’re looking to grow your audience (without living in DMs all day), I can share what other coaches are doing.\n",
262 "name": "Variant A",
263 "attachments": []
264 }
265 ]
266 },
267 "type": "action-node",
268 "style": {
269 "opacity": 1
270 },
271 "measured": {
272 "width": 280,
273 "height": 74
274 },
275 "position": {
276 "x": 87,
277 "y": 1022
278 },
279 "selected": false
280 },
281 {
282 "id": "node-77512e81-87459ecfa4d9",
283 "data": {
284 "icon": "string",
285 "title": "Send Linkedin message",
286 "delay": 24,
287 "action": "ln_profile_message",
288 "variants": [
289 {
290 "body": "“Post more, engage more, DM more…” Easy advice, but not exactly scalable, right?\n\nIf you’d like, I can share how other business coaches are generating leads and building visibility without living on social media.\n",
291 "name": "Variant A",
292 "attachments": []
293 }
294 ]
295 },
296 "type": "action-node",
297 "style": {
298 "opacity": 1
299 },
300 "measured": {
301 "width": 280,
302 "height": 74
303 },
304 "position": {
305 "x": 87,
306 "y": 1222
307 },
308 "selected": false
309 },
310 {
311 "id": "node-6aaee5fd-acf3f25e5904",
312 "data": {
313 "icon": "string",
314 "title": "Send Linkedin message",
315 "delay": 72,
316 "action": "ln_profile_message",
317 "variants": [
318 {
319 "body": "Hey {{FIRST_NAME}}, saw you’re building your coaching brand. Curious: do you have anything running that automatically starts conversations with the right people?\n\nIf not, I’ve got a shortcut you might like.\n",
320 "name": "Variant Aء",
321 "attachments": []
322 }
323 ]
324 },
325 "type": "action-node",
326 "style": {
327 "opacity": 1
328 },
329 "measured": {
330 "width": 280,
331 "height": 74
332 },
333 "position": {
334 "x": 87,
335 "y": 1422
336 },
337 "selected": false
338 },
339 {
340 "id": "node-12b89370-72f9626573f3",
341 "data": {
342 "icon": "string",
343 "title": "Send Linkedin message",
344 "delay": 96,
345 "action": "ln_profile_message",
346 "variants": [
347 {
348 "body": "Most business coaches I speak with juggle content, calls, and clients but have no steady lead flow.\n\nThere’s an easier way to stay visible and build a pipeline in the background. Want more info?",
349 "name": "Variant Aء",
350 "attachments": []
351 }
352 ]
353 },
354 "type": "action-node",
355 "style": {
356 "opacity": 1
357 },
358 "measured": {
359 "width": 280,
360 "height": 74
361 },
362 "position": {
363 "x": 87,
364 "y": 1622
365 },
366 "selected": false
367 },
368 {
369 "id": "node-60f748cc-bbd90c13d921",
370 "data": {
371 "icon": "string",
372 "title": "If InMail is free",
373 "wait": 24,
374 "condition": "ln_profile_inmail_free",
375 "wait_if_condition": "false"
376 },
377 "type": "condition-node",
378 "style": {
379 "opacity": 1
380 },
381 "measured": {
382 "width": 280,
383 "height": 74
384 },
385 "position": {
386 "x": 407,
387 "y": 1022
388 },
389 "selected": false
390 },
391 {
392 "id": "node-f51d96ff-9d93b919927e",
393 "data": {
394 "icon": "string",
395 "title": "Send InMail message",
396 "delay": 24,
397 "action": "ln_profile_inmail",
398 "variants": [
399 {
400 "body": "Hey {{FIRST_NAME}},\nI talk with a lot of coaches who do great work but spend too much time trying to get seen. \n\nCommon pattern:\nPost content, hope for leads\nManual outreach when business slows\nNo system to keep conversations warm\n\nI can share a lightweight setup that helps attract and follow up with the right people automatically. Interested?\n",
401 "name": "Variant Aء",
402 "subject": "More coaching clients without living on Linkedin?",
403 "attachments": []
404 }
405 ]
406 },
407 "type": "action-node",
408 "style": {
409 "opacity": 1
410 },
411 "measured": {
412 "width": 280,
413 "height": 74
414 },
415 "position": {
416 "x": 407,
417 "y": 1222
418 },
419 "selected": true
420 }
421 ]
422 },
423 "account_id": "ACCO136ce10b5f8a7682efb3",
424 "created_at": 1753382019986,
425 "updated_at": 1753382019986,
426 "description": "Business Coaches - US",
427 "template_id": "template_3cd3786f8006f39d4a73"
428 }
429}

Get template by ID (requires group).

Was this page helpful?
Previous

Get last 24h (minutes)

Next

Update template

Built with

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

account_idstringRequired
template_idstringRequired

Query parameters

groupstringOptional

Response

This endpoint returns an object.
successboolean
templateobject