· 8 years ago · Mar 20, 2018, 06:56 AM
1{
2 "basePath": "",
3 "components": {
4 "callbacks": {},
5 "examples": {},
6 "headers": {},
7 "links": {},
8 "parameters": {},
9 "requestBodies": {},
10 "responses": {},
11 "schemas": {
12 "addDomainToWhitelistRequest": {
13 "type": "object",
14 "properties": {
15 "siteTrackingDomain": {
16 "type": "object",
17 "properties": {}
18 },
19 "siteTrackingDomain.name": {
20 "type": "string",
21 "description": "The domain name to add to the whitelist."
22 }
23 }
24 },
25 "createAConnectionRequest": {
26 "type": "object",
27 "properties": {
28 "connection": {
29 "type": "object",
30 "properties": {}
31 },
32 "connection.service": {
33 "type": "string",
34 "description": "The name of the service."
35 },
36 "connection.externalid": {
37 "type": "string",
38 "description": "The id of the account in the external service."
39 },
40 "connection.name": {
41 "type": "string",
42 "description": "The name associated with the account in the external service. Often this will be a company name (e.g., 'My Toystore, Inc.')."
43 },
44 "connection.logoUrl": {
45 "type": "string",
46 "description": "The URL to a logo image for the external service."
47 },
48 "connection.linkUrl": {
49 "type": "string",
50 "description": "The URL to a page where the integration with the external service can be managed in the third-party's website."
51 }
52 }
53 },
54 "createACustomerRequest": {
55 "type": "object",
56 "properties": {
57 "ecomCustomer": {
58 "type": "object",
59 "properties": {}
60 },
61 "ecomCustomer.connectionid": {
62 "type": "string",
63 "description": "The id of the connection object for the service where the customer originates."
64 },
65 "ecomCustomer.externalid": {
66 "type": "string",
67 "description": "The id of the customer in the external service."
68 },
69 "ecomCustomer.email": {
70 "type": "string",
71 "description": "The email address of the customer."
72 }
73 }
74 },
75 "createADealNoteRequest": {
76 "type": "object",
77 "properties": {
78 "id": {
79 "type": "string",
80 "description": "Deal's id to assign new note to"
81 },
82 "note": {
83 "type": "object",
84 "properties": {}
85 },
86 "note.note": {
87 "type": "string",
88 "description": "Deal note's content"
89 }
90 }
91 },
92 "createADealRequest": {
93 "type": "object",
94 "properties": {
95 "deal": {
96 "type": "object",
97 "properties": {}
98 },
99 "deal.title": {
100 "type": "string",
101 "description": "Deal's title."
102 },
103 "deal.contact": {
104 "type": "string",
105 "description": "Deal's primary contact's id."
106 },
107 "deal.value": {
108 "type": "int32",
109 "description": "Deal's value in cents. (i.e. $456.78 => 45678). Must be greater than or equal to zero."
110 },
111 "deal.currency": {
112 "type": "string",
113 "description": "Deal's currency in 3-digit ISO format, lowercased."
114 },
115 "deal.group": {
116 "type": "string",
117 "description": "Deal's pipeline id. Required if deal.stage is not provided. If deal.group is not provided, the stage's pipeline will be assigned to the deal automatically."
118 },
119 "deal.stage": {
120 "type": "string",
121 "description": "Deal's stage id. Required if deal.group is not provided. If deal.stage is not provided, the deal will be assigned with the first stage in the pipeline provided in deal.group."
122 },
123 "deal.owner": {
124 "type": "string",
125 "description": "Deal's owner id. Required if pipeline's auto-assign option is disabled."
126 },
127 "deal.percent": {
128 "type": "int32",
129 "description": "Deal's percentage."
130 },
131 "deal.status": {
132 "type": "int32",
133 "description": "Deal's status. See available values."
134 }
135 }
136 },
137 "createADealStageRequest": {
138 "type": "object",
139 "properties": {
140 "reorder": {
141 "type": "int32",
142 "description": "Whether to reorder stages within the pipeline after creating a new deal stage. Can be one of 0 and 1. If set to 1, new order values will be assigned to all stages within the same pipeline. If deal stages with the same order exists, the stage with the highest id will be assigned with the lowest order"
143 },
144 "dealStage": {
145 "type": "object",
146 "properties": {}
147 },
148 "dealStage.title": {
149 "type": "string",
150 "description": "Deal stage's title"
151 },
152 "dealStage.group": {
153 "type": "string",
154 "description": "Deal stage's pipeline id"
155 },
156 "dealStage.order": {
157 "type": "int32",
158 "description": "Order of the deal stage. If more than one deal stage share the same order value, the order of those deal stages may not be always the same. If dealStage.order is not provided, the order is assigned with (the highest order of deal stages within the same pipeline) + 1"
159 },
160 "dealStage.dealOrder": {
161 "type": "string",
162 "description": "Option and direction to be used to sort deals in the deal stage. The option and direction should be delimited by a space. Direction can be either \"ASC\" or \"DESC\". See available options"
163 },
164 "dealStage.cardRegion1": {
165 "type": "string",
166 "description": "What to show in upper-left corner of Deal Cards. See available values"
167 },
168 "dealStage.cardRegion2": {
169 "type": "string",
170 "description": "What to show in upper-right corner of Deal Cards. See available values"
171 },
172 "dealStage.cardRegion3": {
173 "type": "string",
174 "description": "Whether to show the avatar in Deal Cards. Can be one of show-avatar and hide-avatar. If set to show-avatar, deal cards will show the avatars. If set to hide-avatar, deal cards will hide the avatars"
175 },
176 "dealStage.cardRegion4": {
177 "type": "string",
178 "description": "What to show next to the avatar in Deal Cards. See available values"
179 },
180 "dealStage.cardRegion5": {
181 "type": "string",
182 "description": "What to show in lower-right corner of Deal Cards. See available values"
183 },
184 "dealStage.color": {
185 "type": "string",
186 "description": "Deal Stage's color. 6-character HEX color code without the hashtag. e.g. \"434343\" to assign the hex color value \"#434343\""
187 },
188 "dealStage.width": {
189 "type": "int32",
190 "description": "Deal stage's width in pixels, without px unit"
191 }
192 }
193 },
194 "createADealTaskTypeRequest": {
195 "type": "object",
196 "properties": {
197 "dealTasktype": {
198 "type": "object",
199 "properties": {}
200 },
201 "dealTasktype.title": {
202 "type": "string",
203 "description": "Deal task type's title. The title should be unique among deal task types."
204 }
205 }
206 },
207 "createANewEventNameOnlyRequest": {
208 "type": "object",
209 "properties": {
210 "eventTrackingEvent": {
211 "type": "object",
212 "properties": {}
213 },
214 "eventTrackingEvent.name": {
215 "type": "string",
216 "description": "The name of the event"
217 }
218 }
219 },
220 "createANewTaskRequest": {
221 "type": "object",
222 "properties": {
223 "dealTask": {
224 "type": "object",
225 "properties": {}
226 },
227 "dealTask.title": {
228 "type": "string",
229 "description": "The title to be assigned to the task"
230 },
231 "dealTask.reltype": {
232 "type": "string",
233 "description": "The name of the relating object (see relationships table)"
234 },
235 "dealTask.relid": {
236 "type": "int32",
237 "description": "The id of the relational object for this task"
238 },
239 "dealTask.status": {
240 "type": "int32",
241 "description": "The status to be assigned the task"
242 },
243 "dealTask.note": {
244 "type": "string",
245 "description": "The content describing the task"
246 },
247 "dealTask.duedate": {
248 "type": "date",
249 "description": "Due date of the task"
250 },
251 "dealTask.dealTasktype": {
252 "type": "int32",
253 "description": "The type of the task based on the available Task Types in the account"
254 }
255 }
256 },
257 "createAPipelineRequest": {
258 "type": "object",
259 "properties": {
260 "dealGroup": {
261 "type": "object",
262 "properties": {}
263 },
264 "dealGroup.title": {
265 "type": "string",
266 "description": "Pipeline's title."
267 },
268 "dealGroup.currency": {
269 "type": "string",
270 "description": "Default currency to assign to new deals that belong to this deal group."
271 },
272 "dealGroup.allgroups": {
273 "type": "int32",
274 "description": "Whether all user groups have permission to manage this pipeline. Can be either 1 or 0. If 1, all user groups can manage this pipeline. If 0, only user groups in dealGroup.groups parameter can manage this pipeline."
275 },
276 "dealGroup.allusers": {
277 "type": "int32",
278 "description": "Whether new deals get auto-assigned to all users. Can be either 1 or 0. If 1, new deals are auto-assigned to all users unless auto-assign is disabled. If 0, new deals are auto-assigned to only the users in dealGroup.users parameter."
279 },
280 "dealGroup.autoassign": {
281 "type": "int32",
282 "description": "Deal auto-assign option. Can be one of 0, 1, and 2. If 0, auto-assign is disabled. If 1, Round Robin method is used to auto-assign new deals. If 2, deals are distributed based on deal values."
283 },
284 "dealGroup.users": {
285 "type": "array of strings",
286 "description": "List of user ids to auto-assign new deals to unless auto-assign option is disabled."
287 },
288 "dealGroup.groups": {
289 "type": "array of strings",
290 "description": "List of user group ids to allow managing this pipeline."
291 }
292 }
293 },
294 "createAUserRequest": {
295 "type": "object",
296 "properties": {
297 "user": {
298 "type": "object",
299 "properties": {}
300 },
301 "user.username": {
302 "type": "string",
303 "description": "Username"
304 },
305 "user.email": {
306 "type": "string",
307 "description": "Email address"
308 },
309 "user.firstName": {
310 "type": "string",
311 "description": "First name"
312 },
313 "user.lastName": {
314 "type": "string",
315 "description": "Last name"
316 },
317 "user.group": {
318 "type": "int32",
319 "description": "Group ID"
320 },
321 "user.password": {
322 "type": "string",
323 "description": "Plain text password"
324 }
325 }
326 },
327 "createAWebhookRequest": {
328 "type": "object",
329 "properties": {
330 "webhook": {
331 "type": "object",
332 "properties": {}
333 },
334 "webhook.name": {
335 "type": "string",
336 "description": "A name (or label) to give this webhook."
337 },
338 "webhook.url": {
339 "type": "string",
340 "description": "The URL where the webhook will send the POST request when the event occurs."
341 },
342 "webhook.events": {
343 "type": "array of strings",
344 "description": "The event(s) that will trigger the webhook to fire."
345 },
346 "webhook.sources": {
347 "type": "array of strings",
348 "description": "The source(s) causing an event to occur."
349 },
350 "webhook.listid": {
351 "type": "int32",
352 "description": "The id of a list associated with an event (required for some events)."
353 }
354 }
355 },
356 "createAnOrderRequest": {
357 "type": "object",
358 "properties": {
359 "ecomOrder": {
360 "type": "object",
361 "properties": {}
362 },
363 "ecomOrder.externalid": {
364 "type": "string",
365 "description": "The id of the order in the external service."
366 },
367 "ecomOrder.source": {
368 "type": "int32",
369 "description": "The order source code (0 - sync, 1 - realtime webhook)."
370 },
371 "ecomOrder.email": {
372 "type": "string",
373 "description": "The email address of the customer who placed the order."
374 },
375 "ecomOrder.orderProducts": {
376 "type": "object",
377 "properties": {}
378 },
379 "ecomOrder.orderProducts.name": {
380 "type": "string",
381 "description": "The name of the product"
382 },
383 "ecomOrder.orderProducts.price": {
384 "type": "int32",
385 "description": "The price of the product."
386 },
387 "ecomOrder.orderProducts.quantity": {
388 "type": "int32",
389 "description": "The quantity ordered."
390 },
391 "ecomOrder.orderProducts.externalid": {
392 "type": "string",
393 "description": "The id of the product in the external service."
394 },
395 "ecomOrder.orderProducts.category": {
396 "type": "string",
397 "description": "The category of the product."
398 },
399 "ecomOrder.totalPrice": {
400 "type": "string",
401 "description": "The total price of the order including tax and shipping charges."
402 },
403 "ecomOrder.currency": {
404 "type": "string",
405 "description": "The currency of the order (3-digit ISO code, e.g., 'USD')."
406 },
407 "ecomOrder.connectionid": {
408 "type": "int32",
409 "description": "The id of the connection from which this order originated."
410 },
411 "ecomOrder.customerid": {
412 "type": "int32",
413 "description": "The id of the customer associated with this order."
414 },
415 "ecomOrder.orderNumber": {
416 "type": "string",
417 "description": "The order number in the external system (this may differ from the externalid)."
418 },
419 "ecomOrder.orderUrl": {
420 "type": "string",
421 "description": "The URL for the order in the external service."
422 },
423 "ecomOrder.orderDate": {
424 "type": "date",
425 "description": "The date the order was placed."
426 },
427 "ecomOrder.shippingMethod": {
428 "type": "string",
429 "description": "The shipping method of the order."
430 }
431 }
432 },
433 "createAnOrganizationRequest": {
434 "type": "object",
435 "properties": {
436 "organization": {
437 "type": "object",
438 "properties": {}
439 },
440 "organization.name": {
441 "type": "string",
442 "description": "The name to be assigned to the organization."
443 }
444 }
445 },
446 "deleteAConnectionRequest": {
447 "type": "object",
448 "properties": {
449 "id": {
450 "type": "string",
451 "description": "The id of the connection to delete."
452 }
453 }
454 },
455 "deleteACustomerRequest": {
456 "type": "object",
457 "properties": {
458 "id": {
459 "type": "string",
460 "description": "The id of the customer to delete."
461 }
462 }
463 },
464 "deleteADealRequest": {
465 "type": "object",
466 "properties": {
467 "id": {
468 "type": "int32",
469 "description": "Deal's id"
470 }
471 }
472 },
473 "deleteADealStageRequest": {
474 "type": "object",
475 "properties": {
476 "id": {
477 "type": "int32",
478 "description": "Deal stage's id"
479 }
480 }
481 },
482 "deleteADealTaskTypeRequest": {
483 "type": "object",
484 "properties": {
485 "id": {
486 "type": "int32",
487 "description": "Deal task type's id"
488 }
489 }
490 },
491 "deleteAPipelineRequest": {
492 "type": "object",
493 "properties": {
494 "id": {
495 "type": "int32",
496 "description": "Pipeline's id"
497 }
498 }
499 },
500 "deleteATaskRequest": {
501 "type": "object",
502 "properties": {
503 "id": {
504 "type": "int32",
505 "description": "The task id"
506 }
507 }
508 },
509 "deleteAUserRequest": {
510 "type": "object",
511 "properties": {
512 ":id": {
513 "type": "int32",
514 "description": "ID of the user you wish to delete"
515 }
516 }
517 },
518 "deleteAWebhookRequest": {
519 "type": "object",
520 "properties": {
521 "id": {
522 "type": "int32",
523 "description": "The webhook id"
524 }
525 }
526 },
527 "deleteAnOrderRequest": {
528 "type": "object",
529 "properties": {
530 "id": {
531 "type": "int32",
532 "description": "The id of the order to delete."
533 }
534 }
535 },
536 "deleteAnOrganizationRequest": {
537 "type": "object",
538 "properties": {
539 "id": {
540 "type": "int32",
541 "description": "The organization id"
542 }
543 }
544 },
545 "deleteMultipleOrganizationsRequest": {
546 "type": "object",
547 "properties": {
548 "ids[]": {
549 "type": "array of integers",
550 "description": "A list of organization ids to be deleted."
551 }
552 }
553 },
554 "enableDisableRequest": {
555 "type": "object",
556 "properties": {
557 "siteTracking": {
558 "type": "object",
559 "properties": {}
560 },
561 "siteTracking.enabled": {
562 "type": "boolean",
563 "description": "Whether site tracking should be enabled"
564 }
565 }
566 },
567 "listAllBrandingsRequest": {
568 "type": "object",
569 "properties": {
570 "version": {
571 "type": "string",
572 "description": "ActiveCampaign API version"
573 },
574 "api_key": {
575 "type": "string",
576 "description": "ActiveCampaign API key"
577 }
578 }
579 },
580 "listAllConnectionsRequest": {
581 "type": "object",
582 "properties": {
583 "filters[service]": {
584 "type": "string",
585 "description": "Filter by the external service name."
586 },
587 "filters[externalid]": {
588 "type": "string",
589 "description": "Filter by the external id associated with a connection."
590 }
591 }
592 },
593 "listAllCustomersRequest": {
594 "type": "object",
595 "properties": {
596 "filters[email]": {
597 "type": "string",
598 "description": "Filter by the email address of a customer."
599 },
600 "filters[externalid]": {
601 "type": "string",
602 "description": "Filter by the id of the customer in the external service."
603 },
604 "filters[connectionid]": {
605 "type": "string",
606 "description": "Filter by the id of the connection object for the service where the customer originates."
607 }
608 }
609 },
610 "listAllDealStagesRequest": {
611 "type": "object",
612 "properties": {
613 "filters[title]": {
614 "type": "string",
615 "description": "Filter by deal stages' titles. Any stages whose titles partial-match the filter value are returned"
616 },
617 "filters[d_groupid]": {
618 "type": "string",
619 "description": "Filter by pipeline's id"
620 },
621 "orders[title]": {
622 "type": "string",
623 "description": "Order by deal stage's title"
624 }
625 }
626 },
627 "listAllDealsRequest": {
628 "type": "object",
629 "properties": {
630 "filters[search]": {
631 "type": "string",
632 "description": "Search text to use with search_field parameter."
633 },
634 "filters[search_field]": {
635 "type": "string",
636 "description": "Field to search for. See available values."
637 },
638 "filters[title]": {
639 "type": "string",
640 "description": "Filter by deal's title"
641 },
642 "filters[stage]": {
643 "type": "int32",
644 "description": "Filter by deal's stage"
645 },
646 "filters[group]": {
647 "type": "int32",
648 "description": "Filter by deal's pipeline"
649 },
650 "filters[status]": {
651 "type": "int32",
652 "description": "Filter by deal's status. See available values."
653 },
654 "filters[owner]": {
655 "type": "int32",
656 "description": "Filter by deal's owner"
657 },
658 "filters[nextdate_range]": {
659 "type": "string",
660 "description": "Filter by deal's tasks due dates. See available values."
661 },
662 "filters[tag]": {
663 "type": "string",
664 "description": "Filter by tag names associated with deal's primary contact. See available values."
665 },
666 "filters[tasktype]": {
667 "type": "string",
668 "description": "Filter by deals that have tasks with given type"
669 },
670 "filters[created_before]": {
671 "type": "date",
672 "description": "Returns deals that are created less than given date"
673 },
674 "filters[created_after]": {
675 "type": "date",
676 "description": "Returns deals that are created greater than or equal to given date"
677 },
678 "filters[updated_before]": {
679 "type": "date",
680 "description": "Returns deals that are updated less than given date"
681 },
682 "filters[updated_after]": {
683 "type": "date",
684 "description": "Returns deals that are updated greater than or equal to given date"
685 },
686 "filters[organization]": {
687 "type": "int32",
688 "description": "Filter by deal's primary contact's organization's id"
689 },
690 "filters[minimum_value]": {
691 "type": "int32",
692 "description": "In USD with dollar portion. Returns deals whose values are greater than or equal to given value"
693 },
694 "filters[maximum_value]": {
695 "type": "int32",
696 "description": "In USD with dollar portion. Returns deals whose values are less than or equal to given value"
697 },
698 "filters[score_greater_than]": {
699 "type": "string",
700 "description": "In a format of <score_id>:<score_value>. Returns deals whose score value is greater than given value"
701 },
702 "filters[score_less_than]": {
703 "type": "string",
704 "description": "In a format of <score_id>:<score_value>. Returns deals whose score value is less than given value"
705 },
706 "filters[score]": {
707 "type": "string",
708 "description": "In a format of <score_id>:<score_value>. Returns deals whose score value is equal to given value"
709 },
710 "orders[title]": {
711 "type": "string",
712 "description": "Order by deal's title."
713 },
714 "orders[value]": {
715 "type": "string",
716 "description": "Order by deal's value."
717 },
718 "orders[cdate]": {
719 "type": "string",
720 "description": "Order by deal's created date."
721 },
722 "orders[contact_name]": {
723 "type": "string",
724 "description": "Order by deal's primary contact's first name."
725 },
726 "orders[contact_orgname]": {
727 "type": "string",
728 "description": "Order by deal's primary contact's organization name."
729 },
730 "orders[next-action]": {
731 "type": "string",
732 "description": "Order by deal's next task's due date first. Then append deals with no next task. Lastly append deals with overdue tasks. If dates are the same, order by deal's id."
733 }
734 }
735 },
736 "listAllOrdersRequest": {
737 "type": "object",
738 "properties": {
739 "filters[connectionid]": {
740 "type": "int32",
741 "description": "Filter by the connection id. Must be greater than 0."
742 },
743 "filters[externalid]": {
744 "type": "int32",
745 "description": "Filter by the external id of the order."
746 },
747 "filters[email]": {
748 "type": "string",
749 "description": "Filter by the customer email address."
750 }
751 }
752 },
753 "listAllOrganizationsRequest": {
754 "type": "object",
755 "properties": {
756 "filters[name]": {
757 "type": "string",
758 "description": "Filter by the name of the organization."
759 },
760 "orders[name]": {
761 "type": "string",
762 "description": "Order by name"
763 },
764 "orders[contact_count]": {
765 "type": "string",
766 "description": "Order by contact count"
767 },
768 "orders[deal_count]": {
769 "type": "string",
770 "description": "Order by deal count"
771 }
772 }
773 },
774 "listAllPipelinesRequest": {
775 "type": "object",
776 "properties": {
777 "filters[title]": {
778 "type": "string",
779 "description": "Filter by pipeline's title. The filter matches any pipeline titles that contain the provided title (i.e. \"Contact\" matches all of \"In Contact\", \"To Contact\", and \"Contact Pipeline\")."
780 },
781 "filters[have_stages]": {
782 "type": "int32",
783 "description": "Filter by whether pipelines have deal stages. Can be either 1 or 0. If 1, only pipelines with at least one stage will be returned."
784 },
785 "orders[title]": {
786 "type": "string",
787 "description": "Order by Pipeline's title"
788 },
789 "orders[popular]": {
790 "type": "string",
791 "description": "Order by number of deals each pipeline has. If pipelines have same number of deals, pipelines' created dates are used to determine the order."
792 }
793 }
794 },
795 "listAllTasksRequest": {
796 "type": "object",
797 "properties": {
798 "filters[title]": {
799 "type": "string",
800 "description": "The title to be assigned to the task"
801 },
802 "filters[reltype]": {
803 "type": "string",
804 "description": "The name of the relating object (see relationships table)"
805 },
806 "filters[relid]": {
807 "type": "int32",
808 "description": "The id of the relational object for this task"
809 },
810 "filters[status]": {
811 "type": "int32",
812 "description": "The status to be assigned the task"
813 },
814 "filters[note]": {
815 "type": "string",
816 "description": "The content describing the task"
817 },
818 "filters[duedate]": {
819 "type": "date",
820 "description": "Due date of the task"
821 },
822 "filters[d_tasktypeid]": {
823 "type": "int32",
824 "description": "The type of the task based on the available Task Types in the account"
825 },
826 "filters[userid]": {
827 "type": "int32",
828 "description": "User ID this task belongs to"
829 }
830 }
831 },
832 "listAllWebhooksRequest": {
833 "type": "object",
834 "properties": {
835 "filters[name]": {
836 "type": "string",
837 "description": "Filter by webhook name"
838 },
839 "filters[url]": {
840 "type": "string",
841 "description": "Filter by webhook url"
842 },
843 "filters[listid]": {
844 "type": "string",
845 "description": "Filter by webhook's associated list"
846 }
847 }
848 },
849 "moveDealTasksToAnotherDealTaskTypeRequest": {
850 "type": "object",
851 "properties": {
852 "id": {
853 "type": "int32",
854 "description": "Deal task type's id"
855 },
856 "dealTask": {
857 "type": "object",
858 "properties": {}
859 },
860 "dealTask.dealTasktype": {
861 "type": "string",
862 "description": "Deal task type's id to move deal tasks to"
863 }
864 }
865 },
866 "moveDealsToAnotherDealStageRequest": {
867 "type": "object",
868 "properties": {
869 "id": {
870 "type": "int32",
871 "description": "Deal stage's id whose deals are to be moved to another deal stage"
872 },
873 "deal": {
874 "type": "object",
875 "properties": {}
876 },
877 "deal.stage": {
878 "type": "string",
879 "description": "Target deal stage's id to move deals to"
880 }
881 }
882 },
883 "removeDomainFromWhitelistRequest": {
884 "type": "object",
885 "properties": {
886 "name": {
887 "type": "string",
888 "description": "The domain name to remove from the whitelist"
889 }
890 }
891 },
892 "removeEventNameOnlyRequest": {
893 "type": "object",
894 "properties": {
895 "name": {
896 "type": "string",
897 "description": "Name of event to delete. Spaces in names are allowed, but must be encoded (for example, \"my%20event\")."
898 }
899 }
900 },
901 "retrieveABrandingRequest": {
902 "type": "object",
903 "properties": {
904 "id": {
905 "type": "int32"
906 }
907 }
908 },
909 "retrieveAConnectionRequest": {
910 "type": "object",
911 "properties": {
912 "id": {
913 "type": "string",
914 "description": "The id of the connection to retrieve"
915 }
916 }
917 },
918 "retrieveACustomerRequest": {
919 "type": "object",
920 "properties": {
921 "id": {
922 "type": "string",
923 "description": "The id of the customer to retrieve"
924 }
925 }
926 },
927 "retrieveADealRequest": {
928 "type": "object",
929 "properties": {
930 "id": {
931 "type": "int32",
932 "description": "Deal's id"
933 }
934 }
935 },
936 "retrieveADealStageRequest": {
937 "type": "object",
938 "properties": {
939 "id": {
940 "type": "int32",
941 "description": "Deal stage's id"
942 }
943 }
944 },
945 "retrieveADealTaskTypeRequest": {
946 "type": "object",
947 "properties": {
948 "id": {
949 "type": "int32",
950 "description": "Deal task type's id"
951 }
952 }
953 },
954 "retrieveAPipelineRequest": {
955 "type": "object",
956 "properties": {
957 "id": {
958 "type": "string",
959 "description": "Pipeline's id"
960 }
961 }
962 },
963 "retrieveATaskRequest": {
964 "type": "object",
965 "properties": {
966 "id": {
967 "type": "int32",
968 "description": "The ID of the task"
969 }
970 }
971 },
972 "retrieveAUserByEmailRequest": {
973 "type": "object",
974 "properties": {
975 ":email": {
976 "type": "string",
977 "description": "Email address of the user you want to view"
978 }
979 }
980 },
981 "retrieveAUserByUsernameRequest": {
982 "type": "object",
983 "properties": {
984 ":username": {
985 "type": "string",
986 "description": "Username of the user you want to view"
987 }
988 }
989 },
990 "retrieveAUserRequest": {
991 "type": "object",
992 "properties": {
993 "id": {
994 "type": "int32",
995 "description": "ID of the user you want to view"
996 }
997 }
998 },
999 "retrieveAWebhookRequest": {
1000 "type": "object",
1001 "properties": {
1002 "id": {
1003 "type": "int32"
1004 }
1005 }
1006 },
1007 "retrieveAnOrderRequest": {
1008 "type": "object",
1009 "properties": {
1010 "id": {
1011 "type": "int32",
1012 "description": "The id of the order to retrieve."
1013 }
1014 }
1015 },
1016 "retrieveAnOrganizationRequest": {
1017 "type": "object",
1018 "properties": {
1019 "id": {
1020 "type": "int32",
1021 "description": "The ID of the organization"
1022 }
1023 }
1024 },
1025 "updateABrandingRequest": {
1026 "type": "object",
1027 "properties": {
1028 "id": {
1029 "type": "int32",
1030 "description": "Branding ID"
1031 },
1032 "branding": {
1033 "type": "object",
1034 "properties": {}
1035 },
1036 "branding.groupid": {
1037 "type": "int32",
1038 "description": "The group ID. This value will always be 3."
1039 },
1040 "branding.siteName": {
1041 "type": "string",
1042 "description": "Title of software. Example: 'ActiveCampaign Email Marketing'"
1043 },
1044 "branding.siteLogo": {
1045 "type": "string"
1046 },
1047 "branding.siteLogoSmall": {
1048 "type": "string",
1049 "description": "URL of small logo. Small logos appear in the header of the admin panel."
1050 },
1051 "branding.headerTextValue": {
1052 "type": "string",
1053 "description": "Content of non-removable header. Example: text header content"
1054 },
1055 "branding.headerHtmlValue": {
1056 "type": "string",
1057 "description": "Content of non-removable header. Example: "
1058 },
1059 "branding.footerTextValue": {
1060 "type": "string",
1061 "description": "Content of non-removeable footer. Example: text footer content"
1062 },
1063 "branding.footerHtmlValue": {
1064 "type": "string",
1065 "description": "Content of non-removeable footer. Example: "
1066 },
1067 "branding.copyright": {
1068 "type": "boolean",
1069 "description": "unknown"
1070 },
1071 "branding.version": {
1072 "type": "boolean",
1073 "description": "unknown"
1074 },
1075 "branding.license": {
1076 "type": "boolean",
1077 "description": "unknown"
1078 },
1079 "branding.links": {
1080 "type": "boolean",
1081 "description": "External links. To enable (which is the default) exclude this parameter entirely. To disable (remove our branding), just pass this parameter with any value."
1082 },
1083 "branding.help": {
1084 "type": "string"
1085 },
1086 "branding.adminTemplateHtm": {
1087 "type": "string",
1088 "description": "The actual HTML template (ONLY AVAILABLE FOR CERTAIN PLANS)"
1089 },
1090 "branding.adminTemplateCss": {
1091 "type": "string",
1092 "description": "The actual CSS. Example: test color: green; (ONLY AVAILABLE FOR CERTAIN PLANS)"
1093 },
1094 "branding.publicTemplateHtm": {
1095 "type": "string",
1096 "description": "The actual HTML template (ONLY AVAILABLE FOR CERTAIN PLANS)"
1097 },
1098 "branding.publicTemplateCss": {
1099 "type": "string",
1100 "description": "The actual CSS. Example: test color: green; (ONLY AVAILABLE FOR CERTAIN PLANS)"
1101 },
1102 "branding.favicon": {
1103 "type": "string",
1104 "description": "URL of the favicon."
1105 }
1106 }
1107 },
1108 "updateAConnectionRequest": {
1109 "type": "object",
1110 "properties": {
1111 "id": {
1112 "type": "string",
1113 "description": "The id of the connection to update"
1114 },
1115 "connection": {
1116 "type": "object",
1117 "properties": {}
1118 },
1119 "connection.service": {
1120 "type": "string",
1121 "description": "The name of the service."
1122 },
1123 "connection.externalid": {
1124 "type": "string",
1125 "description": "The id of the account in the external service."
1126 },
1127 "connection.name": {
1128 "type": "string",
1129 "description": "The name associated with the account in the external service."
1130 },
1131 "connection.logoUrl": {
1132 "type": "string",
1133 "description": "The URL to a logo image for the third-party service."
1134 },
1135 "connection.linkUrl": {
1136 "type": "string",
1137 "description": "The link to the third-party integrator's site."
1138 },
1139 "connection.status": {
1140 "type": "int32",
1141 "description": "The status of the connection (0 = error; 1 = connected)"
1142 },
1143 "connection.syncStatus": {
1144 "type": "int32",
1145 "description": "The status of a sync triggered on the connection (0 = sync stopped; 1 = sync running)."
1146 }
1147 }
1148 },
1149 "updateACustomerRequest": {
1150 "type": "object",
1151 "properties": {
1152 "id": {
1153 "type": "string",
1154 "description": "The id of the customer to update"
1155 },
1156 "ecomCustomer": {
1157 "type": "object",
1158 "properties": {}
1159 },
1160 "ecomCustomer.externalid": {
1161 "type": "string",
1162 "description": "The id of the customer in the external service."
1163 },
1164 "ecomCustomer.connectionid": {
1165 "type": "string",
1166 "description": "The id of the connection object for the service where the customer originates."
1167 },
1168 "ecomCustomer.email": {
1169 "type": "string",
1170 "description": "The email address of the customer."
1171 }
1172 }
1173 },
1174 "updateADealNoteRequest": {
1175 "type": "object",
1176 "properties": {
1177 "id": {
1178 "type": "string",
1179 "description": "Deal's id to assign new note to"
1180 },
1181 "noteid": {
1182 "type": "string",
1183 "description": "Deal note's id to update"
1184 },
1185 "note": {
1186 "type": "object",
1187 "properties": {}
1188 },
1189 "note.note": {
1190 "type": "string",
1191 "description": "Deal note's content"
1192 }
1193 }
1194 },
1195 "updateADealRequest": {
1196 "type": "object",
1197 "properties": {
1198 "id": {
1199 "type": "int32",
1200 "description": "Deal's id"
1201 },
1202 "deal": {
1203 "type": "object",
1204 "properties": {}
1205 },
1206 "deal.title": {
1207 "type": "string",
1208 "description": "Deal's title."
1209 },
1210 "deal.contact": {
1211 "type": "string",
1212 "description": "Deal's primary contact id."
1213 },
1214 "deal.value": {
1215 "type": "int32",
1216 "description": "Deal's value in cents. (i.e. $456.78 => 45678). Must be greater than or equal to zero."
1217 },
1218 "deal.currency": {
1219 "type": "string",
1220 "description": "Deal's currency in 3-digit ISO format, lowercased."
1221 },
1222 "deal.group": {
1223 "type": "string",
1224 "description": "Deal's pipeline id. Deal's stage or deal.stage should belong to deal.group."
1225 },
1226 "deal.stage": {
1227 "type": "string",
1228 "description": "Deal's stage id. deal.stage should belong to Deal's pipeline or deal.group."
1229 },
1230 "deal.owner": {
1231 "type": "string",
1232 "description": "Deal's owner id."
1233 },
1234 "deal.percent": {
1235 "type": "int32",
1236 "description": "Deal's percentage."
1237 },
1238 "deal.status": {
1239 "type": "int32",
1240 "description": "Deal's status. See available values."
1241 }
1242 }
1243 },
1244 "updateADealStageRequest": {
1245 "type": "object",
1246 "properties": {
1247 "id": {
1248 "type": "int32",
1249 "description": "Deal stage's id"
1250 },
1251 "reorder": {
1252 "type": "int32",
1253 "description": "Whether to reorder stages within the pipeline after creating a new deal stage. Can be one of 0 and 1. If set to 1, new order values will be assigned to all stages within the same pipeline. If deal stages with the same order exists, the stage with the highest id will be assigned with the lowest order"
1254 },
1255 "dealStage": {
1256 "type": "object",
1257 "properties": {}
1258 },
1259 "dealStage.title": {
1260 "type": "string",
1261 "description": "Deal stage's title"
1262 },
1263 "dealStage.group": {
1264 "type": "string",
1265 "description": "Deal stage's pipeline id"
1266 },
1267 "dealStage.order": {
1268 "type": "int32",
1269 "description": "Order of the deal stage. If more than one deal stage share the same order value, the order of those deal stages may not be always the same"
1270 },
1271 "dealStage.dealOrder": {
1272 "type": "string",
1273 "description": "Option and direction to be used to sort deals in the deal stage. The option and direction should be delimited by a space. Direction can be either \"ASC\" or \"DESC\". See available options"
1274 },
1275 "dealStage.cardRegion1": {
1276 "type": "string",
1277 "description": "What to show in upper-left corner of Deal Cards. See available values"
1278 },
1279 "dealStage.cardRegion2": {
1280 "type": "string",
1281 "description": "What to show in upper-right corner of Deal Cards. See available values"
1282 },
1283 "dealStage.cardRegion3": {
1284 "type": "string",
1285 "description": "Whether to show the avatar in Deal Cards. Can be one of show-avatar and hide-avatar. If set to show-avatar, deal cards will show the avatars. If set to hide-avatar, deal cards will hide the avatars"
1286 },
1287 "dealStage.cardRegion4": {
1288 "type": "string",
1289 "description": "What to show next to the avatar in Deal Cards. See available values"
1290 },
1291 "dealStage.cardRegion5": {
1292 "type": "string",
1293 "description": "What to show in lower-right corner of Deal Cards. See available values"
1294 },
1295 "dealStage.color": {
1296 "type": "string",
1297 "description": "Deal Stage's color. 6-character HEX color code without the hashtag. e.g. \"434343\" to assign the hex color value \"#434343\""
1298 },
1299 "dealStage.width": {
1300 "type": "int32",
1301 "description": "Deal stage's width in pixels, without px unit"
1302 }
1303 }
1304 },
1305 "updateADealTaskTypeRequest": {
1306 "type": "object",
1307 "properties": {
1308 "id": {
1309 "type": "int32",
1310 "description": "Deal task type's id"
1311 },
1312 "dealTasktype": {
1313 "type": "object",
1314 "properties": {}
1315 },
1316 "dealTasktype.title": {
1317 "type": "string",
1318 "description": "Deal task type's title. The title should be unique among deal task types."
1319 }
1320 }
1321 },
1322 "updateAPipelineRequest": {
1323 "type": "object",
1324 "properties": {
1325 "id": {
1326 "type": "int32",
1327 "description": "Pipeline's id"
1328 },
1329 "dealGroup": {
1330 "type": "object",
1331 "properties": {}
1332 },
1333 "dealGroup.title": {
1334 "type": "string",
1335 "description": "Pipeline's title"
1336 },
1337 "dealGroup.currency": {
1338 "type": "string",
1339 "description": "Default currency to assign to new deals that belong to this deal group."
1340 },
1341 "dealGroup.allgroups": {
1342 "type": "int32",
1343 "description": "Whether all user groups have permission to manage this pipeline. Can be either 1 or 0. If 1, all user groups can manage this pipeline. If 0, only user groups in dealGroup.groups parameter can manage this pipeline."
1344 },
1345 "dealGroup.allusers": {
1346 "type": "int32",
1347 "description": "Whether new deals get auto-assigned to all users. Can be either 1 or 0. If 1, new deals are auto-assigned to all users unless auto-assign is disabled. If 0, new deals are auto-assigned to only the users in dealGroup.users parameter."
1348 },
1349 "dealGroup.autoassign": {
1350 "type": "int32",
1351 "description": "Deal auto-assign option. Can be one of 0, 1, and 2. If 0, auto-assign is disabled. If 1, Round Robin method is used to auto-assign new deals. If 2, deals are distributed based on deal values."
1352 },
1353 "dealGroup.users": {
1354 "type": "array of strings",
1355 "description": "List of user ids to auto-assign new deals to unless auto-assign option is disabled."
1356 },
1357 "dealGroup.groups": {
1358 "type": "array of strings",
1359 "description": "List of user group ids to allow managing this pipeline."
1360 }
1361 }
1362 },
1363 "updateATaskRequest": {
1364 "type": "object",
1365 "properties": {
1366 "id": {
1367 "type": "int32",
1368 "description": "The ID of the task"
1369 },
1370 "dealTask": {
1371 "type": "object",
1372 "properties": {}
1373 },
1374 "dealTask.title": {
1375 "type": "string",
1376 "description": "The title to be assigned to the task"
1377 },
1378 "dealTask.reltype": {
1379 "type": "string",
1380 "description": "The name of the relating object (see relationships table)"
1381 },
1382 "dealTask.relid": {
1383 "type": "int32",
1384 "description": "The id of the relational object for this task"
1385 },
1386 "dealTask.status": {
1387 "type": "int32",
1388 "description": "The status to be assigned the task"
1389 },
1390 "dealTask.note": {
1391 "type": "string",
1392 "description": "The content describing the task"
1393 },
1394 "dealTask.duedate": {
1395 "type": "date",
1396 "description": "Due date of the task"
1397 },
1398 "dealTask.dealTasktype": {
1399 "type": "int32",
1400 "description": "The type of the task based on the available Task Types in the account"
1401 }
1402 }
1403 },
1404 "updateAUserRequest": {
1405 "type": "object",
1406 "properties": {
1407 ":id": {
1408 "type": "int32",
1409 "description": "ID of the user"
1410 },
1411 "user": {
1412 "type": "object",
1413 "properties": {}
1414 },
1415 "user.username": {
1416 "type": "string",
1417 "description": "Username. Username cannot be changed!"
1418 },
1419 "user.password": {
1420 "type": "string",
1421 "description": "Password. Example: 'newpassword'"
1422 },
1423 "user.email": {
1424 "type": "string",
1425 "description": "Email address of the user. Example: 'test@example.com'"
1426 },
1427 "user.firstName": {
1428 "type": "string",
1429 "description": "First name of the user. Example: 'FirstName'"
1430 },
1431 "user.lastName": {
1432 "type": "string",
1433 "description": "Last name of the user. Example: 'LastName'"
1434 },
1435 "user.group": {
1436 "type": "int32",
1437 "description": "Assign to Groups"
1438 }
1439 }
1440 },
1441 "updateAWebhookRequest": {
1442 "type": "object",
1443 "properties": {
1444 "id": {
1445 "type": "int32",
1446 "description": "The webhook id"
1447 },
1448 "webhook": {
1449 "type": "object",
1450 "properties": {}
1451 },
1452 "webhook.name": {
1453 "type": "string",
1454 "description": "A name (or label) to give the webhook."
1455 },
1456 "webhook.url": {
1457 "type": "string",
1458 "description": "The URL where the webhook will send the POST request when the event occurs."
1459 },
1460 "webhook.events": {
1461 "type": "array of strings",
1462 "description": "The The event(s) that will trigger the webhook to fire. that will trigger the webhook to fire."
1463 },
1464 "webhook.sources": {
1465 "type": "array of strings",
1466 "description": "The source(s) causing an event to occur."
1467 },
1468 "webhook.listid": {
1469 "type": "int32",
1470 "description": "The id of a list associated with an event (required for some events)."
1471 }
1472 }
1473 },
1474 "updateAnOrderRequest": {
1475 "type": "object",
1476 "properties": {
1477 "id": {
1478 "type": "int32",
1479 "description": "The id of the order to update"
1480 },
1481 "ecomOrder": {
1482 "type": "object",
1483 "properties": {}
1484 },
1485 "ecomOrder.totalPrice": {
1486 "type": "int32",
1487 "description": "The total price of the order including tax and shipping charges."
1488 },
1489 "ecomOrder.currency": {
1490 "type": "string",
1491 "description": "The currency of the order (3-digit ISO code, e.g., 'USD')."
1492 },
1493 "ecomOrder.orderNumber": {
1494 "type": "string",
1495 "description": "The order number in the external system (this may differ from the externalid)."
1496 },
1497 "ecomOrder.orderUrl": {
1498 "type": "string",
1499 "description": "The URL for the order in the external service."
1500 },
1501 "ecomOrder.orderDate": {
1502 "type": "string",
1503 "description": "The date the order was placed."
1504 },
1505 "ecomOrder.shippingMethod": {
1506 "type": "string",
1507 "description": "The shipping method of the order."
1508 },
1509 "ecomOrder.email": {
1510 "type": "string",
1511 "description": "The email address of the customer who placed the order."
1512 },
1513 "ecomOrder.orderProducts": {
1514 "type": "array of mixed types",
1515 "description": "A list of product objects, each containing information about a product included in the order (see params specified for creating an order."
1516 }
1517 }
1518 },
1519 "updateAnOrganizationRequest": {
1520 "type": "object",
1521 "properties": {
1522 "id": {
1523 "type": "int32",
1524 "description": "The ID of the organization"
1525 },
1526 "organization": {
1527 "type": "object",
1528 "properties": {}
1529 },
1530 "organization.name": {
1531 "type": "string",
1532 "description": "The name of the organization"
1533 }
1534 }
1535 }
1536 },
1537 "securitySchemes": {}
1538 },
1539 "info": {
1540 "contact": {},
1541 "license": {
1542 "name": "MIT"
1543 },
1544 "version": "1.0.0-SNAPSHOT"
1545 },
1546 "openapi": "3.0.1",
1547 "paths": {
1548 "/siteTrackingDomains": {
1549 "post": {
1550 "operationId": "addDomainToWhitelist",
1551 "description": "Add a domain to the site tracking whitelist",
1552 "parameters": [],
1553 "requestBody": {
1554 "content": {},
1555 "required": false
1556 },
1557 "responses": {},
1558 "tags": [],
1559 "security": []
1560 },
1561 "get": {
1562 "operationId": "listAllWhitelistedDomains",
1563 "description": "List of all whitelisted site tracking domains",
1564 "parameters": [],
1565 "requestBody": {
1566 "content": {},
1567 "required": false
1568 },
1569 "responses": {},
1570 "tags": [],
1571 "security": []
1572 }
1573 },
1574 "/connections": {
1575 "post": {
1576 "operationId": "createAConnection",
1577 "description": "Create a new connection resource.",
1578 "parameters": [],
1579 "requestBody": {
1580 "content": {},
1581 "required": false
1582 },
1583 "responses": {},
1584 "tags": [],
1585 "security": []
1586 },
1587 "get": {
1588 "operationId": "listAllConnections",
1589 "description": "List all existing connection resources.",
1590 "parameters": [],
1591 "requestBody": {
1592 "content": {},
1593 "required": false
1594 },
1595 "responses": {},
1596 "tags": [],
1597 "security": []
1598 }
1599 },
1600 "/ecomCustomers": {
1601 "post": {
1602 "operationId": "createACustomer",
1603 "description": "Create a new e-commerce customer resource.",
1604 "parameters": [],
1605 "requestBody": {
1606 "content": {},
1607 "required": false
1608 },
1609 "responses": {},
1610 "tags": [],
1611 "security": []
1612 },
1613 "get": {
1614 "operationId": "listAllCustomers",
1615 "description": "List all e-commerce customer resources.",
1616 "parameters": [],
1617 "requestBody": {
1618 "content": {},
1619 "required": false
1620 },
1621 "responses": {},
1622 "tags": [],
1623 "security": []
1624 }
1625 },
1626 "/deals": {
1627 "post": {
1628 "operationId": "createADeal",
1629 "description": "Create a new deal",
1630 "parameters": [],
1631 "requestBody": {
1632 "content": {},
1633 "required": false
1634 },
1635 "responses": {},
1636 "tags": [],
1637 "security": []
1638 },
1639 "get": {
1640 "operationId": "listAllDeals",
1641 "description": "Retrieve all existing deals",
1642 "parameters": [],
1643 "requestBody": {
1644 "content": {},
1645 "required": false
1646 },
1647 "responses": {},
1648 "tags": [],
1649 "security": []
1650 }
1651 },
1652 "/deals/id/notes": {
1653 "post": {
1654 "operationId": "createADealNote",
1655 "description": "Create a new note for a deal",
1656 "parameters": [],
1657 "requestBody": {
1658 "content": {},
1659 "required": false
1660 },
1661 "responses": {},
1662 "tags": [],
1663 "security": []
1664 }
1665 },
1666 "/dealStages": {
1667 "post": {
1668 "operationId": "createADealStage",
1669 "description": "Create a new stage for a pipeline",
1670 "parameters": [],
1671 "requestBody": {
1672 "content": {},
1673 "required": false
1674 },
1675 "responses": {},
1676 "tags": [],
1677 "security": []
1678 },
1679 "get": {
1680 "operationId": "listAllDealStages",
1681 "description": "Retrieve all existing stages",
1682 "parameters": [],
1683 "requestBody": {
1684 "content": {},
1685 "required": false
1686 },
1687 "responses": {},
1688 "tags": [],
1689 "security": []
1690 }
1691 },
1692 "/dealTasktypes": {
1693 "post": {
1694 "operationId": "createADealTaskType",
1695 "description": "Create a new task type",
1696 "parameters": [],
1697 "requestBody": {
1698 "content": {},
1699 "required": false
1700 },
1701 "responses": {},
1702 "tags": [],
1703 "security": []
1704 },
1705 "get": {
1706 "operationId": "listAllDealTaskTypes",
1707 "description": "Retrieve all existing task types",
1708 "parameters": [],
1709 "requestBody": {
1710 "content": {},
1711 "required": false
1712 },
1713 "responses": {},
1714 "tags": [],
1715 "security": []
1716 }
1717 },
1718 "/eventTrackingEvent": {
1719 "post": {
1720 "operationId": "createANewEventNameOnly",
1721 "description": "Create a new event tracking event (name only)",
1722 "parameters": [],
1723 "requestBody": {
1724 "content": {},
1725 "required": false
1726 },
1727 "responses": {},
1728 "tags": [],
1729 "security": []
1730 }
1731 },
1732 "/dealTasks": {
1733 "post": {
1734 "operationId": "createANewTask",
1735 "description": "Create a new task",
1736 "parameters": [],
1737 "requestBody": {
1738 "content": {},
1739 "required": false
1740 },
1741 "responses": {},
1742 "tags": [],
1743 "security": []
1744 },
1745 "get": {
1746 "operationId": "listAllTasks",
1747 "description": "Retrieve a list of existing tasks",
1748 "parameters": [],
1749 "requestBody": {
1750 "content": {},
1751 "required": false
1752 },
1753 "responses": {},
1754 "tags": [],
1755 "security": []
1756 }
1757 },
1758 "/dealGroups": {
1759 "post": {
1760 "operationId": "createAPipeline",
1761 "description": "Create a new pipeline",
1762 "parameters": [],
1763 "requestBody": {
1764 "content": {},
1765 "required": false
1766 },
1767 "responses": {},
1768 "tags": [],
1769 "security": []
1770 },
1771 "get": {
1772 "operationId": "listAllPipelines",
1773 "description": "Retrieve all existing pipelines",
1774 "parameters": [],
1775 "requestBody": {
1776 "content": {},
1777 "required": false
1778 },
1779 "responses": {},
1780 "tags": [],
1781 "security": []
1782 }
1783 },
1784 "/users": {
1785 "post": {
1786 "operationId": "createAUser",
1787 "description": "Create a new user",
1788 "parameters": [],
1789 "requestBody": {
1790 "content": {},
1791 "required": false
1792 },
1793 "responses": {},
1794 "tags": [],
1795 "security": []
1796 },
1797 "get": {
1798 "operationId": "listAllUsers",
1799 "description": "List all existing users",
1800 "parameters": [],
1801 "requestBody": {
1802 "content": {},
1803 "required": false
1804 },
1805 "responses": {},
1806 "tags": [],
1807 "security": []
1808 }
1809 },
1810 "/webhooks": {
1811 "post": {
1812 "operationId": "createAWebhook",
1813 "description": "Create a new webhook",
1814 "parameters": [],
1815 "requestBody": {
1816 "content": {},
1817 "required": false
1818 },
1819 "responses": {},
1820 "tags": [],
1821 "security": []
1822 },
1823 "get": {
1824 "operationId": "listAllWebhooks",
1825 "description": "List all existing webhooks",
1826 "parameters": [],
1827 "requestBody": {
1828 "content": {},
1829 "required": false
1830 },
1831 "responses": {},
1832 "tags": [],
1833 "security": []
1834 }
1835 },
1836 "/ecomOrders": {
1837 "post": {
1838 "operationId": "createAnOrder",
1839 "description": "Create a new e-commerce order resource.",
1840 "parameters": [],
1841 "requestBody": {
1842 "content": {},
1843 "required": false
1844 },
1845 "responses": {},
1846 "tags": [],
1847 "security": []
1848 },
1849 "get": {
1850 "operationId": "listAllOrders",
1851 "description": "List all existing e-commerce order resources.",
1852 "parameters": [],
1853 "requestBody": {
1854 "content": {},
1855 "required": false
1856 },
1857 "responses": {},
1858 "tags": [],
1859 "security": []
1860 }
1861 },
1862 "/organizations": {
1863 "post": {
1864 "operationId": "createAnOrganization",
1865 "description": "Create a new organization",
1866 "parameters": [],
1867 "requestBody": {
1868 "content": {},
1869 "required": false
1870 },
1871 "responses": {},
1872 "tags": [],
1873 "security": []
1874 },
1875 "get": {
1876 "operationId": "listAllOrganizations",
1877 "description": "List all existing organizations",
1878 "parameters": [],
1879 "requestBody": {
1880 "content": {},
1881 "required": false
1882 },
1883 "responses": {},
1884 "tags": [],
1885 "security": []
1886 }
1887 },
1888 "/connections/id": {
1889 "get": {
1890 "operationId": "updateAConnection",
1891 "description": "Update an existing connection resource.",
1892 "parameters": [],
1893 "requestBody": {
1894 "content": {},
1895 "required": false
1896 },
1897 "responses": {},
1898 "tags": [],
1899 "security": []
1900 }
1901 },
1902 "/ecomCustomer/id": {
1903 "get": {
1904 "operationId": "deleteACustomer",
1905 "description": "Delete an existing e-commerce customer resource.",
1906 "parameters": [],
1907 "requestBody": {
1908 "content": {},
1909 "required": false
1910 },
1911 "responses": {},
1912 "tags": [],
1913 "security": []
1914 }
1915 },
1916 "/deals/id": {
1917 "get": {
1918 "operationId": "updateADeal",
1919 "description": "Update an existing deal",
1920 "parameters": [],
1921 "requestBody": {
1922 "content": {},
1923 "required": false
1924 },
1925 "responses": {},
1926 "tags": [],
1927 "security": []
1928 }
1929 },
1930 "/dealStages/id": {
1931 "get": {
1932 "operationId": "updateADealStage",
1933 "description": "Update an existing stage",
1934 "parameters": [],
1935 "requestBody": {
1936 "content": {},
1937 "required": false
1938 },
1939 "responses": {},
1940 "tags": [],
1941 "security": []
1942 }
1943 },
1944 "/dealTasktypes/id": {
1945 "get": {
1946 "operationId": "updateADealTaskType",
1947 "description": "Update an existing task type",
1948 "parameters": [],
1949 "requestBody": {
1950 "content": {},
1951 "required": false
1952 },
1953 "responses": {},
1954 "tags": [],
1955 "security": []
1956 }
1957 },
1958 "/dealGroups/id": {
1959 "get": {
1960 "operationId": "updateAPipeline",
1961 "description": "Update an existing pipeline",
1962 "parameters": [],
1963 "requestBody": {
1964 "content": {},
1965 "required": false
1966 },
1967 "responses": {},
1968 "tags": [],
1969 "security": []
1970 }
1971 },
1972 "/dealTasks/id": {
1973 "get": {
1974 "operationId": "updateATask",
1975 "description": "Update an existing task",
1976 "parameters": [],
1977 "requestBody": {
1978 "content": {},
1979 "required": false
1980 },
1981 "responses": {},
1982 "tags": [],
1983 "security": []
1984 }
1985 },
1986 "/users/:id": {
1987 "get": {
1988 "operationId": "updateAUser",
1989 "description": "Update an existing user",
1990 "parameters": [],
1991 "requestBody": {
1992 "content": {},
1993 "required": false
1994 },
1995 "responses": {},
1996 "tags": [],
1997 "security": []
1998 }
1999 },
2000 "/webhooks/id": {
2001 "get": {
2002 "operationId": "updateAWebhook",
2003 "description": "Update an existing webhook",
2004 "parameters": [],
2005 "requestBody": {
2006 "content": {},
2007 "required": false
2008 },
2009 "responses": {},
2010 "tags": [],
2011 "security": []
2012 }
2013 },
2014 "/ecomOrders/id": {
2015 "get": {
2016 "operationId": "updateAnOrder",
2017 "description": "Update an existing e-commerce resource.",
2018 "parameters": [],
2019 "requestBody": {
2020 "content": {},
2021 "required": false
2022 },
2023 "responses": {},
2024 "tags": [],
2025 "security": []
2026 }
2027 },
2028 "/organizations/id": {
2029 "get": {
2030 "operationId": "updateAnOrganization",
2031 "description": "Update an organization",
2032 "parameters": [],
2033 "requestBody": {
2034 "content": {},
2035 "required": false
2036 },
2037 "responses": {},
2038 "tags": [],
2039 "security": []
2040 }
2041 },
2042 "/organizations/bulk_delete": {
2043 "get": {
2044 "operationId": "deleteMultipleOrganizations",
2045 "description": "Delete multiple existing organizations",
2046 "parameters": [],
2047 "requestBody": {
2048 "content": {},
2049 "required": false
2050 },
2051 "responses": {},
2052 "tags": [],
2053 "security": []
2054 }
2055 },
2056 "/siteTracking": {
2057 "get": {
2058 "operationId": "retrieveStatus",
2059 "description": "Get site tracking status (enabled or disabled)",
2060 "parameters": [],
2061 "requestBody": {
2062 "content": {},
2063 "required": false
2064 },
2065 "responses": {},
2066 "tags": [],
2067 "security": []
2068 }
2069 },
2070 "/brandings": {
2071 "get": {
2072 "operationId": "listAllBrandings",
2073 "description": "List all existing branding resources",
2074 "parameters": [],
2075 "requestBody": {
2076 "content": {},
2077 "required": false
2078 },
2079 "responses": {},
2080 "tags": [],
2081 "security": []
2082 }
2083 },
2084 "/eventTrackingEvents": {
2085 "get": {
2086 "operationId": "listAllEventsNamesOnly",
2087 "description": "List the names of tracked events",
2088 "parameters": [],
2089 "requestBody": {
2090 "content": {},
2091 "required": false
2092 },
2093 "responses": {},
2094 "tags": [],
2095 "security": []
2096 }
2097 },
2098 "/webhook/events": {
2099 "get": {
2100 "operationId": "listAllWebhookEvents",
2101 "description": "List all available webhook events",
2102 "parameters": [],
2103 "requestBody": {
2104 "content": {},
2105 "required": false
2106 },
2107 "responses": {},
2108 "tags": [],
2109 "security": []
2110 }
2111 },
2112 "/dealTasktypes/id/dealTasks": {
2113 "get": {
2114 "operationId": "moveDealTasksToAnotherDealTaskType",
2115 "description": "Move tasks to a different task type",
2116 "parameters": [],
2117 "requestBody": {
2118 "content": {},
2119 "required": false
2120 },
2121 "responses": {},
2122 "tags": [],
2123 "security": []
2124 }
2125 },
2126 "/dealStages/id/deals": {
2127 "get": {
2128 "operationId": "moveDealsToAnotherDealStage",
2129 "description": "Move all deals in one stage to another stage",
2130 "parameters": [],
2131 "requestBody": {
2132 "content": {},
2133 "required": false
2134 },
2135 "responses": {},
2136 "tags": [],
2137 "security": []
2138 }
2139 },
2140 "/siteTrackingDomain/name": {
2141 "get": {
2142 "operationId": "removeDomainFromWhitelist",
2143 "description": "Remove a domain from the site tracking whitelist",
2144 "parameters": [],
2145 "requestBody": {
2146 "content": {},
2147 "required": false
2148 },
2149 "responses": {},
2150 "tags": [],
2151 "security": []
2152 }
2153 },
2154 "/eventTrackingEvent/name": {
2155 "get": {
2156 "operationId": "removeEventNameOnly",
2157 "description": "Remove an existing event tracking event (name only)",
2158 "parameters": [],
2159 "requestBody": {
2160 "content": {},
2161 "required": false
2162 },
2163 "responses": {},
2164 "tags": [],
2165 "security": []
2166 }
2167 },
2168 "/brandings/id": {
2169 "get": {
2170 "operationId": "updateABranding",
2171 "description": "Update an existing branding resource",
2172 "parameters": [],
2173 "requestBody": {
2174 "content": {},
2175 "required": false
2176 },
2177 "responses": {},
2178 "tags": [],
2179 "security": []
2180 }
2181 },
2182 "/ecomCustomers/id": {
2183 "get": {
2184 "operationId": "updateACustomer",
2185 "description": "Update an existing e-commerce customer resource.",
2186 "parameters": [],
2187 "requestBody": {
2188 "content": {},
2189 "required": false
2190 },
2191 "responses": {},
2192 "tags": [],
2193 "security": []
2194 }
2195 },
2196 "/pipelines/id": {
2197 "get": {
2198 "operationId": "retrieveAPipeline",
2199 "description": "Retrieve an existing pipeline",
2200 "parameters": [],
2201 "requestBody": {
2202 "content": {},
2203 "required": false
2204 },
2205 "responses": {},
2206 "tags": [],
2207 "security": []
2208 }
2209 },
2210 "/users/id": {
2211 "get": {
2212 "operationId": "retrieveAUser",
2213 "description": "Retrieve an existing user",
2214 "parameters": [],
2215 "requestBody": {
2216 "content": {},
2217 "required": false
2218 },
2219 "responses": {},
2220 "tags": [],
2221 "security": []
2222 }
2223 },
2224 "/users/email/:email": {
2225 "get": {
2226 "operationId": "retrieveAUserByEmail",
2227 "description": "Retrieve an existing user by looking up their email address",
2228 "parameters": [],
2229 "requestBody": {
2230 "content": {},
2231 "required": false
2232 },
2233 "responses": {},
2234 "tags": [],
2235 "security": []
2236 }
2237 },
2238 "/users/username/:username": {
2239 "get": {
2240 "operationId": "retrieveAUserByUsername",
2241 "description": "Retrieve an existing user by looking up their username",
2242 "parameters": [],
2243 "requestBody": {
2244 "content": {},
2245 "required": false
2246 },
2247 "responses": {},
2248 "tags": [],
2249 "security": []
2250 }
2251 },
2252 "/users/me": {
2253 "get": {
2254 "operationId": "retrieveLoggedInUser",
2255 "description": "Retrieve the logged-in user",
2256 "parameters": [],
2257 "requestBody": {
2258 "content": {},
2259 "required": false
2260 },
2261 "responses": {},
2262 "tags": [],
2263 "security": []
2264 }
2265 },
2266 "/track/site/code": {
2267 "get": {
2268 "operationId": "retrieveSiteTrackingCode",
2269 "description": "Get site tracking code",
2270 "parameters": [],
2271 "requestBody": {
2272 "content": {},
2273 "required": false
2274 },
2275 "responses": {},
2276 "tags": [],
2277 "security": []
2278 }
2279 },
2280 "/deals/id/notes/noteid": {
2281 "get": {
2282 "operationId": "updateADealNote",
2283 "description": "Update an existing note for a deal",
2284 "parameters": [],
2285 "requestBody": {
2286 "content": {},
2287 "required": false
2288 },
2289 "responses": {},
2290 "tags": [],
2291 "security": []
2292 }
2293 }
2294 }
2295}