@iblai/iblai-api 4.450.0-core → 4.452.0-core
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +763 -60
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +763 -61
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +763 -60
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +15 -0
- package/dist/types/models/Activity.d.ts +4 -0
- package/dist/types/models/Deal.d.ts +4 -0
- package/dist/types/models/LeadSource.d.ts +4 -0
- package/dist/types/models/Member.d.ts +16 -0
- package/dist/types/models/Organization.d.ts +4 -0
- package/dist/types/models/Overview.d.ts +4 -0
- package/dist/types/models/PaginatedMemberList.d.ts +7 -0
- package/dist/types/models/PaginatedWebFormList.d.ts +7 -0
- package/dist/types/models/PaginatedWebFormSubmissionList.d.ts +7 -0
- package/dist/types/models/PatchedActivity.d.ts +4 -0
- package/dist/types/models/PatchedDeal.d.ts +4 -0
- package/dist/types/models/PatchedLeadSource.d.ts +4 -0
- package/dist/types/models/PatchedOrganization.d.ts +4 -0
- package/dist/types/models/PatchedPerson.d.ts +4 -0
- package/dist/types/models/PatchedPipeline.d.ts +4 -0
- package/dist/types/models/PatchedSavedView.d.ts +4 -0
- package/dist/types/models/PatchedTag.d.ts +4 -0
- package/dist/types/models/PatchedWebForm.d.ts +41 -0
- package/dist/types/models/Person.d.ts +4 -0
- package/dist/types/models/Pipeline.d.ts +4 -0
- package/dist/types/models/SavedView.d.ts +4 -0
- package/dist/types/models/SearchDeal.d.ts +4 -0
- package/dist/types/models/SearchOrganization.d.ts +5 -1
- package/dist/types/models/SearchPerson.d.ts +4 -0
- package/dist/types/models/Tag.d.ts +4 -0
- package/dist/types/models/Type240Enum.d.ts +20 -0
- package/dist/types/models/WebForm.d.ts +41 -0
- package/dist/types/models/WebFormField.d.ts +20 -0
- package/dist/types/models/WebFormPublic.d.ts +25 -0
- package/dist/types/models/WebFormPublicField.d.ts +10 -0
- package/dist/types/models/WebFormRouting.d.ts +45 -0
- package/dist/types/models/WebFormSubmission.d.ts +15 -0
- package/dist/types/models/WebFormSubmitRequest.d.ts +15 -0
- package/dist/types/models/WebFormSubmitResponse.d.ts +4 -0
- package/dist/types/services/CrmService.d.ts +662 -83
- package/dist/types/services/V1CoursesService.d.ts +25 -0
- package/package.json +1 -1
- package/sdk_schema.yml +1895 -10
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +15 -0
- package/src/models/Activity.ts +4 -0
- package/src/models/Deal.ts +4 -0
- package/src/models/LeadSource.ts +4 -0
- package/src/models/Member.ts +21 -0
- package/src/models/Organization.ts +4 -0
- package/src/models/Overview.ts +4 -0
- package/src/models/PaginatedMemberList.ts +12 -0
- package/src/models/PaginatedWebFormList.ts +12 -0
- package/src/models/PaginatedWebFormSubmissionList.ts +12 -0
- package/src/models/PatchedActivity.ts +4 -0
- package/src/models/PatchedDeal.ts +4 -0
- package/src/models/PatchedLeadSource.ts +4 -0
- package/src/models/PatchedOrganization.ts +4 -0
- package/src/models/PatchedPerson.ts +4 -0
- package/src/models/PatchedPipeline.ts +4 -0
- package/src/models/PatchedSavedView.ts +4 -0
- package/src/models/PatchedTag.ts +4 -0
- package/src/models/PatchedWebForm.ts +46 -0
- package/src/models/Person.ts +4 -0
- package/src/models/Pipeline.ts +4 -0
- package/src/models/SavedView.ts +4 -0
- package/src/models/SearchDeal.ts +4 -0
- package/src/models/SearchOrganization.ts +5 -1
- package/src/models/SearchPerson.ts +4 -0
- package/src/models/Tag.ts +4 -0
- package/src/models/Type240Enum.ts +24 -0
- package/src/models/WebForm.ts +46 -0
- package/src/models/WebFormField.ts +25 -0
- package/src/models/WebFormPublic.ts +30 -0
- package/src/models/WebFormPublicField.ts +15 -0
- package/src/models/WebFormRouting.ts +50 -0
- package/src/models/WebFormSubmission.ts +20 -0
- package/src/models/WebFormSubmitRequest.ts +20 -0
- package/src/models/WebFormSubmitResponse.ts +9 -0
- package/src/services/CrmService.ts +1151 -38
- package/src/services/V1CoursesService.ts +52 -0
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.452.0-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -28658,6 +28658,14 @@ paths:
|
|
|
28658
28658
|
**Required permission:** `Ibl.CRM/Activities/list`.
|
|
28659
28659
|
summary: List activities
|
|
28660
28660
|
parameters:
|
|
28661
|
+
- in: query
|
|
28662
|
+
name: app
|
|
28663
|
+
schema:
|
|
28664
|
+
type: string
|
|
28665
|
+
default: ''
|
|
28666
|
+
maxLength: 64
|
|
28667
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
28668
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28661
28669
|
- name: date_filter
|
|
28662
28670
|
in: query
|
|
28663
28671
|
required: false
|
|
@@ -28790,6 +28798,15 @@ paths:
|
|
|
28790
28798
|
|
|
28791
28799
|
**Required permission:** `Ibl.CRM/Activities/action`.
|
|
28792
28800
|
summary: Create an activity
|
|
28801
|
+
parameters:
|
|
28802
|
+
- in: query
|
|
28803
|
+
name: app
|
|
28804
|
+
schema:
|
|
28805
|
+
type: string
|
|
28806
|
+
default: ''
|
|
28807
|
+
maxLength: 64
|
|
28808
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
28809
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28793
28810
|
tags:
|
|
28794
28811
|
- crm
|
|
28795
28812
|
requestBody:
|
|
@@ -28832,6 +28849,14 @@ paths:
|
|
|
28832
28849
|
**Required permission:** `Ibl.CRM/Activities/read`.
|
|
28833
28850
|
summary: Retrieve an activity
|
|
28834
28851
|
parameters:
|
|
28852
|
+
- in: query
|
|
28853
|
+
name: app
|
|
28854
|
+
schema:
|
|
28855
|
+
type: string
|
|
28856
|
+
default: ''
|
|
28857
|
+
maxLength: 64
|
|
28858
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
28859
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28835
28860
|
- in: path
|
|
28836
28861
|
name: id
|
|
28837
28862
|
schema:
|
|
@@ -28861,6 +28886,14 @@ paths:
|
|
|
28861
28886
|
**Required permission:** `Ibl.CRM/Activities/write`.
|
|
28862
28887
|
summary: Replace an activity
|
|
28863
28888
|
parameters:
|
|
28889
|
+
- in: query
|
|
28890
|
+
name: app
|
|
28891
|
+
schema:
|
|
28892
|
+
type: string
|
|
28893
|
+
default: ''
|
|
28894
|
+
maxLength: 64
|
|
28895
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
28896
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28864
28897
|
- in: path
|
|
28865
28898
|
name: id
|
|
28866
28899
|
schema:
|
|
@@ -28910,6 +28943,14 @@ paths:
|
|
|
28910
28943
|
**Required permission:** `Ibl.CRM/Activities/write`.
|
|
28911
28944
|
summary: Update an activity
|
|
28912
28945
|
parameters:
|
|
28946
|
+
- in: query
|
|
28947
|
+
name: app
|
|
28948
|
+
schema:
|
|
28949
|
+
type: string
|
|
28950
|
+
default: ''
|
|
28951
|
+
maxLength: 64
|
|
28952
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
28953
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28913
28954
|
- in: path
|
|
28914
28955
|
name: id
|
|
28915
28956
|
schema:
|
|
@@ -28958,6 +28999,14 @@ paths:
|
|
|
28958
28999
|
**Required permission:** `Ibl.CRM/Activities/delete`.
|
|
28959
29000
|
summary: Delete an activity
|
|
28960
29001
|
parameters:
|
|
29002
|
+
- in: query
|
|
29003
|
+
name: app
|
|
29004
|
+
schema:
|
|
29005
|
+
type: string
|
|
29006
|
+
default: ''
|
|
29007
|
+
maxLength: 64
|
|
29008
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29009
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28961
29010
|
- in: path
|
|
28962
29011
|
name: id
|
|
28963
29012
|
schema:
|
|
@@ -28984,6 +29033,14 @@ paths:
|
|
|
28984
29033
|
**Required permission:** `Ibl.CRM/Activities/write`.
|
|
28985
29034
|
summary: Mark an activity as done
|
|
28986
29035
|
parameters:
|
|
29036
|
+
- in: query
|
|
29037
|
+
name: app
|
|
29038
|
+
schema:
|
|
29039
|
+
type: string
|
|
29040
|
+
default: ''
|
|
29041
|
+
maxLength: 64
|
|
29042
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29043
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
28987
29044
|
- in: path
|
|
28988
29045
|
name: id
|
|
28989
29046
|
schema:
|
|
@@ -29014,6 +29071,14 @@ paths:
|
|
|
29014
29071
|
**Required permission:** `Ibl.CRM/Deals/list`.
|
|
29015
29072
|
summary: List deals
|
|
29016
29073
|
parameters:
|
|
29074
|
+
- in: query
|
|
29075
|
+
name: app
|
|
29076
|
+
schema:
|
|
29077
|
+
type: string
|
|
29078
|
+
default: ''
|
|
29079
|
+
maxLength: 64
|
|
29080
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29081
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29017
29082
|
- in: query
|
|
29018
29083
|
name: created_at__gte
|
|
29019
29084
|
schema:
|
|
@@ -29156,6 +29221,15 @@ paths:
|
|
|
29156
29221
|
|
|
29157
29222
|
**Required permission:** `Ibl.CRM/Deals/action`.
|
|
29158
29223
|
summary: Create a deal
|
|
29224
|
+
parameters:
|
|
29225
|
+
- in: query
|
|
29226
|
+
name: app
|
|
29227
|
+
schema:
|
|
29228
|
+
type: string
|
|
29229
|
+
default: ''
|
|
29230
|
+
maxLength: 64
|
|
29231
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29232
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29159
29233
|
tags:
|
|
29160
29234
|
- crm
|
|
29161
29235
|
requestBody:
|
|
@@ -29198,6 +29272,14 @@ paths:
|
|
|
29198
29272
|
**Required permission:** `Ibl.CRM/Deals/read`.
|
|
29199
29273
|
summary: Retrieve a deal
|
|
29200
29274
|
parameters:
|
|
29275
|
+
- in: query
|
|
29276
|
+
name: app
|
|
29277
|
+
schema:
|
|
29278
|
+
type: string
|
|
29279
|
+
default: ''
|
|
29280
|
+
maxLength: 64
|
|
29281
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29282
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29201
29283
|
- in: path
|
|
29202
29284
|
name: id
|
|
29203
29285
|
schema:
|
|
@@ -29227,6 +29309,14 @@ paths:
|
|
|
29227
29309
|
**Required permission:** `Ibl.CRM/Deals/write`.
|
|
29228
29310
|
summary: Replace a deal
|
|
29229
29311
|
parameters:
|
|
29312
|
+
- in: query
|
|
29313
|
+
name: app
|
|
29314
|
+
schema:
|
|
29315
|
+
type: string
|
|
29316
|
+
default: ''
|
|
29317
|
+
maxLength: 64
|
|
29318
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29319
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29230
29320
|
- in: path
|
|
29231
29321
|
name: id
|
|
29232
29322
|
schema:
|
|
@@ -29276,6 +29366,14 @@ paths:
|
|
|
29276
29366
|
**Required permission:** `Ibl.CRM/Deals/write`.
|
|
29277
29367
|
summary: Update a deal
|
|
29278
29368
|
parameters:
|
|
29369
|
+
- in: query
|
|
29370
|
+
name: app
|
|
29371
|
+
schema:
|
|
29372
|
+
type: string
|
|
29373
|
+
default: ''
|
|
29374
|
+
maxLength: 64
|
|
29375
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29376
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29279
29377
|
- in: path
|
|
29280
29378
|
name: id
|
|
29281
29379
|
schema:
|
|
@@ -29324,6 +29422,14 @@ paths:
|
|
|
29324
29422
|
**Required permission:** `Ibl.CRM/Deals/delete`.
|
|
29325
29423
|
summary: Delete a deal
|
|
29326
29424
|
parameters:
|
|
29425
|
+
- in: query
|
|
29426
|
+
name: app
|
|
29427
|
+
schema:
|
|
29428
|
+
type: string
|
|
29429
|
+
default: ''
|
|
29430
|
+
maxLength: 64
|
|
29431
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29432
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29327
29433
|
- in: path
|
|
29328
29434
|
name: id
|
|
29329
29435
|
schema:
|
|
@@ -29350,6 +29456,14 @@ paths:
|
|
|
29350
29456
|
**Required permission:** the record's `read` verb.
|
|
29351
29457
|
summary: Field-change history for this record
|
|
29352
29458
|
parameters:
|
|
29459
|
+
- in: query
|
|
29460
|
+
name: app
|
|
29461
|
+
schema:
|
|
29462
|
+
type: string
|
|
29463
|
+
default: ''
|
|
29464
|
+
maxLength: 64
|
|
29465
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29466
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29353
29467
|
- in: path
|
|
29354
29468
|
name: id
|
|
29355
29469
|
schema:
|
|
@@ -29382,6 +29496,14 @@ paths:
|
|
|
29382
29496
|
**Required permission:** `Ibl.CRM/Deals/write`.
|
|
29383
29497
|
summary: Mark a deal as lost
|
|
29384
29498
|
parameters:
|
|
29499
|
+
- in: query
|
|
29500
|
+
name: app
|
|
29501
|
+
schema:
|
|
29502
|
+
type: string
|
|
29503
|
+
default: ''
|
|
29504
|
+
maxLength: 64
|
|
29505
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29506
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29385
29507
|
- in: path
|
|
29386
29508
|
name: id
|
|
29387
29509
|
schema:
|
|
@@ -29424,6 +29546,46 @@ paths:
|
|
|
29424
29546
|
description: Missing required permission `Ibl.CRM/Deals/write`.
|
|
29425
29547
|
'404':
|
|
29426
29548
|
description: Deal not found.
|
|
29549
|
+
/api/crm/deals/{id}/metadata/:
|
|
29550
|
+
patch:
|
|
29551
|
+
operationId: crm_deals_metadata_partial_update
|
|
29552
|
+
description: |-
|
|
29553
|
+
Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
29554
|
+
|
|
29555
|
+
**Required permission:** the record's `write` verb.
|
|
29556
|
+
summary: Merge into this record's metadata
|
|
29557
|
+
parameters:
|
|
29558
|
+
- in: query
|
|
29559
|
+
name: app
|
|
29560
|
+
schema:
|
|
29561
|
+
type: string
|
|
29562
|
+
default: ''
|
|
29563
|
+
maxLength: 64
|
|
29564
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29565
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29566
|
+
- in: path
|
|
29567
|
+
name: id
|
|
29568
|
+
schema:
|
|
29569
|
+
type: integer
|
|
29570
|
+
description: A unique integer value identifying this deal.
|
|
29571
|
+
required: true
|
|
29572
|
+
tags:
|
|
29573
|
+
- crm
|
|
29574
|
+
requestBody:
|
|
29575
|
+
content:
|
|
29576
|
+
application/json:
|
|
29577
|
+
schema:
|
|
29578
|
+
type: object
|
|
29579
|
+
additionalProperties: {}
|
|
29580
|
+
security:
|
|
29581
|
+
- PlatformApiKeyAuthentication: []
|
|
29582
|
+
responses:
|
|
29583
|
+
'200':
|
|
29584
|
+
content:
|
|
29585
|
+
application/json:
|
|
29586
|
+
schema:
|
|
29587
|
+
$ref: '#/components/schemas/Deal'
|
|
29588
|
+
description: ''
|
|
29427
29589
|
/api/crm/deals/{id}/move-stage/:
|
|
29428
29590
|
post:
|
|
29429
29591
|
operationId: crm_deals_move_stage_create
|
|
@@ -29433,6 +29595,14 @@ paths:
|
|
|
29433
29595
|
**Required permission:** `Ibl.CRM/Deals/write`.
|
|
29434
29596
|
summary: Move a deal to a different stage
|
|
29435
29597
|
parameters:
|
|
29598
|
+
- in: query
|
|
29599
|
+
name: app
|
|
29600
|
+
schema:
|
|
29601
|
+
type: string
|
|
29602
|
+
default: ''
|
|
29603
|
+
maxLength: 64
|
|
29604
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29605
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29436
29606
|
- in: path
|
|
29437
29607
|
name: id
|
|
29438
29608
|
schema:
|
|
@@ -29482,6 +29652,14 @@ paths:
|
|
|
29482
29652
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
29483
29653
|
summary: Attach a tag to this record
|
|
29484
29654
|
parameters:
|
|
29655
|
+
- in: query
|
|
29656
|
+
name: app
|
|
29657
|
+
schema:
|
|
29658
|
+
type: string
|
|
29659
|
+
default: ''
|
|
29660
|
+
maxLength: 64
|
|
29661
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29662
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29485
29663
|
- in: path
|
|
29486
29664
|
name: id
|
|
29487
29665
|
schema:
|
|
@@ -29530,6 +29708,14 @@ paths:
|
|
|
29530
29708
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
29531
29709
|
summary: Detach a tag from this record
|
|
29532
29710
|
parameters:
|
|
29711
|
+
- in: query
|
|
29712
|
+
name: app
|
|
29713
|
+
schema:
|
|
29714
|
+
type: string
|
|
29715
|
+
default: ''
|
|
29716
|
+
maxLength: 64
|
|
29717
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29718
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29533
29719
|
- in: path
|
|
29534
29720
|
name: id
|
|
29535
29721
|
schema:
|
|
@@ -29562,6 +29748,14 @@ paths:
|
|
|
29562
29748
|
**Required permission:** `Ibl.CRM/Deals/write`.
|
|
29563
29749
|
summary: Mark a deal as won
|
|
29564
29750
|
parameters:
|
|
29751
|
+
- in: query
|
|
29752
|
+
name: app
|
|
29753
|
+
schema:
|
|
29754
|
+
type: string
|
|
29755
|
+
default: ''
|
|
29756
|
+
maxLength: 64
|
|
29757
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29758
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29565
29759
|
- in: path
|
|
29566
29760
|
name: id
|
|
29567
29761
|
schema:
|
|
@@ -29612,6 +29806,14 @@ paths:
|
|
|
29612
29806
|
**Required permission:** `Ibl.CRM/Deals/list`.
|
|
29613
29807
|
summary: Deals grouped by stage (the board)
|
|
29614
29808
|
parameters:
|
|
29809
|
+
- in: query
|
|
29810
|
+
name: app
|
|
29811
|
+
schema:
|
|
29812
|
+
type: string
|
|
29813
|
+
default: ''
|
|
29814
|
+
maxLength: 64
|
|
29815
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29816
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29615
29817
|
- in: query
|
|
29616
29818
|
name: created_at__gte
|
|
29617
29819
|
schema:
|
|
@@ -29746,6 +29948,14 @@ paths:
|
|
|
29746
29948
|
**Required permission:** `Ibl.CRM/Favorites/list`.
|
|
29747
29949
|
summary: List my favorites
|
|
29748
29950
|
parameters:
|
|
29951
|
+
- in: query
|
|
29952
|
+
name: app
|
|
29953
|
+
schema:
|
|
29954
|
+
type: string
|
|
29955
|
+
default: ''
|
|
29956
|
+
maxLength: 64
|
|
29957
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
29958
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29749
29959
|
- name: date_filter
|
|
29750
29960
|
in: query
|
|
29751
29961
|
required: false
|
|
@@ -29828,6 +30038,15 @@ paths:
|
|
|
29828
30038
|
|
|
29829
30039
|
**Required permission:** `Ibl.CRM/Favorites/action`.
|
|
29830
30040
|
summary: Star a record
|
|
30041
|
+
parameters:
|
|
30042
|
+
- in: query
|
|
30043
|
+
name: app
|
|
30044
|
+
schema:
|
|
30045
|
+
type: string
|
|
30046
|
+
default: ''
|
|
30047
|
+
maxLength: 64
|
|
30048
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30049
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29831
30050
|
tags:
|
|
29832
30051
|
- crm
|
|
29833
30052
|
requestBody:
|
|
@@ -29872,6 +30091,14 @@ paths:
|
|
|
29872
30091
|
description: '**Required permission:** `Ibl.CRM/Favorites/read`.'
|
|
29873
30092
|
summary: One of your favorites
|
|
29874
30093
|
parameters:
|
|
30094
|
+
- in: query
|
|
30095
|
+
name: app
|
|
30096
|
+
schema:
|
|
30097
|
+
type: string
|
|
30098
|
+
default: ''
|
|
30099
|
+
maxLength: 64
|
|
30100
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30101
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29875
30102
|
- in: path
|
|
29876
30103
|
name: id
|
|
29877
30104
|
schema:
|
|
@@ -29901,6 +30128,14 @@ paths:
|
|
|
29901
30128
|
**Required permission:** `Ibl.CRM/Favorites/delete`.
|
|
29902
30129
|
summary: Unstar a record
|
|
29903
30130
|
parameters:
|
|
30131
|
+
- in: query
|
|
30132
|
+
name: app
|
|
30133
|
+
schema:
|
|
30134
|
+
type: string
|
|
30135
|
+
default: ''
|
|
30136
|
+
maxLength: 64
|
|
30137
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30138
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29904
30139
|
- in: path
|
|
29905
30140
|
name: id
|
|
29906
30141
|
schema:
|
|
@@ -29927,6 +30162,14 @@ paths:
|
|
|
29927
30162
|
**Required permission:** `Ibl.CRM/Pipelines/list`.
|
|
29928
30163
|
summary: List lead sources
|
|
29929
30164
|
parameters:
|
|
30165
|
+
- in: query
|
|
30166
|
+
name: app
|
|
30167
|
+
schema:
|
|
30168
|
+
type: string
|
|
30169
|
+
default: ''
|
|
30170
|
+
maxLength: 64
|
|
30171
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30172
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
29930
30173
|
- in: query
|
|
29931
30174
|
name: code
|
|
29932
30175
|
schema:
|
|
@@ -30009,6 +30252,15 @@ paths:
|
|
|
30009
30252
|
|
|
30010
30253
|
**Required permission:** `Ibl.CRM/Pipelines/action`.
|
|
30011
30254
|
summary: Create a lead source
|
|
30255
|
+
parameters:
|
|
30256
|
+
- in: query
|
|
30257
|
+
name: app
|
|
30258
|
+
schema:
|
|
30259
|
+
type: string
|
|
30260
|
+
default: ''
|
|
30261
|
+
maxLength: 64
|
|
30262
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30263
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30012
30264
|
tags:
|
|
30013
30265
|
- crm
|
|
30014
30266
|
requestBody:
|
|
@@ -30051,6 +30303,14 @@ paths:
|
|
|
30051
30303
|
**Required permission:** `Ibl.CRM/Pipelines/read`.
|
|
30052
30304
|
summary: Retrieve a lead source
|
|
30053
30305
|
parameters:
|
|
30306
|
+
- in: query
|
|
30307
|
+
name: app
|
|
30308
|
+
schema:
|
|
30309
|
+
type: string
|
|
30310
|
+
default: ''
|
|
30311
|
+
maxLength: 64
|
|
30312
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30313
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30054
30314
|
- in: path
|
|
30055
30315
|
name: id
|
|
30056
30316
|
schema:
|
|
@@ -30080,6 +30340,14 @@ paths:
|
|
|
30080
30340
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
30081
30341
|
summary: Replace a lead source
|
|
30082
30342
|
parameters:
|
|
30343
|
+
- in: query
|
|
30344
|
+
name: app
|
|
30345
|
+
schema:
|
|
30346
|
+
type: string
|
|
30347
|
+
default: ''
|
|
30348
|
+
maxLength: 64
|
|
30349
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30350
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30083
30351
|
- in: path
|
|
30084
30352
|
name: id
|
|
30085
30353
|
schema:
|
|
@@ -30129,6 +30397,14 @@ paths:
|
|
|
30129
30397
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
30130
30398
|
summary: Update a lead source
|
|
30131
30399
|
parameters:
|
|
30400
|
+
- in: query
|
|
30401
|
+
name: app
|
|
30402
|
+
schema:
|
|
30403
|
+
type: string
|
|
30404
|
+
default: ''
|
|
30405
|
+
maxLength: 64
|
|
30406
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30407
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30132
30408
|
- in: path
|
|
30133
30409
|
name: id
|
|
30134
30410
|
schema:
|
|
@@ -30177,6 +30453,14 @@ paths:
|
|
|
30177
30453
|
**Required permission:** `Ibl.CRM/Pipelines/delete`.
|
|
30178
30454
|
summary: Delete a lead source
|
|
30179
30455
|
parameters:
|
|
30456
|
+
- in: query
|
|
30457
|
+
name: app
|
|
30458
|
+
schema:
|
|
30459
|
+
type: string
|
|
30460
|
+
default: ''
|
|
30461
|
+
maxLength: 64
|
|
30462
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30463
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30180
30464
|
- in: path
|
|
30181
30465
|
name: id
|
|
30182
30466
|
schema:
|
|
@@ -30194,15 +30478,70 @@ paths:
|
|
|
30194
30478
|
description: Missing required permission `Ibl.CRM/Pipelines/delete`.
|
|
30195
30479
|
'404':
|
|
30196
30480
|
description: LeadSource not found.
|
|
30481
|
+
/api/crm/members/:
|
|
30482
|
+
get:
|
|
30483
|
+
operationId: crm_members_list
|
|
30484
|
+
description: |-
|
|
30485
|
+
Active members of your Platform with an active account, by username: the users a person, deal or activity `owner` can be. `query` matches username or name (and email when shown). `email` is null unless you hold `Ibl.Core/Users/list`.
|
|
30486
|
+
|
|
30487
|
+
**Required permission:** `list` on persons, organizations, deals or activities (any one).
|
|
30488
|
+
summary: List the Platform's members
|
|
30489
|
+
parameters:
|
|
30490
|
+
- in: query
|
|
30491
|
+
name: app
|
|
30492
|
+
schema:
|
|
30493
|
+
type: string
|
|
30494
|
+
default: ''
|
|
30495
|
+
maxLength: 64
|
|
30496
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30497
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30498
|
+
- name: page
|
|
30499
|
+
required: false
|
|
30500
|
+
in: query
|
|
30501
|
+
description: A page number within the paginated result set.
|
|
30502
|
+
schema:
|
|
30503
|
+
type: integer
|
|
30504
|
+
- name: page_size
|
|
30505
|
+
required: false
|
|
30506
|
+
in: query
|
|
30507
|
+
description: Number of results to return per page.
|
|
30508
|
+
schema:
|
|
30509
|
+
type: integer
|
|
30510
|
+
- in: query
|
|
30511
|
+
name: query
|
|
30512
|
+
schema:
|
|
30513
|
+
type: string
|
|
30514
|
+
description: Substring of username or name.
|
|
30515
|
+
tags:
|
|
30516
|
+
- crm
|
|
30517
|
+
security:
|
|
30518
|
+
- PlatformApiKeyAuthentication: []
|
|
30519
|
+
responses:
|
|
30520
|
+
'200':
|
|
30521
|
+
content:
|
|
30522
|
+
application/json:
|
|
30523
|
+
schema:
|
|
30524
|
+
$ref: '#/components/schemas/PaginatedMemberList'
|
|
30525
|
+
description: ''
|
|
30526
|
+
'403':
|
|
30527
|
+
description: No CRM list permission.
|
|
30197
30528
|
/api/crm/organizations/:
|
|
30198
30529
|
get:
|
|
30199
30530
|
operationId: crm_organizations_list
|
|
30200
30531
|
description: |-
|
|
30201
|
-
Returns a paginated list of organizations in your Platform. Supports filtering by `owner
|
|
30532
|
+
Returns a paginated list of organizations in your Platform. Supports filtering by `owner`, by `name` (case-insensitive substring match) and by `name__iexact` (exact, ignoring case).
|
|
30202
30533
|
|
|
30203
30534
|
**Required permission:** `Ibl.CRM/Organizations/list`.
|
|
30204
30535
|
summary: List organizations
|
|
30205
30536
|
parameters:
|
|
30537
|
+
- in: query
|
|
30538
|
+
name: app
|
|
30539
|
+
schema:
|
|
30540
|
+
type: string
|
|
30541
|
+
default: ''
|
|
30542
|
+
maxLength: 64
|
|
30543
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30544
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30206
30545
|
- name: date_filter
|
|
30207
30546
|
in: query
|
|
30208
30547
|
required: false
|
|
@@ -30228,6 +30567,10 @@ paths:
|
|
|
30228
30567
|
name: name
|
|
30229
30568
|
schema:
|
|
30230
30569
|
type: string
|
|
30570
|
+
- in: query
|
|
30571
|
+
name: name__iexact
|
|
30572
|
+
schema:
|
|
30573
|
+
type: string
|
|
30231
30574
|
- name: ordering
|
|
30232
30575
|
required: false
|
|
30233
30576
|
in: query
|
|
@@ -30289,6 +30632,15 @@ paths:
|
|
|
30289
30632
|
|
|
30290
30633
|
**Required permission:** `Ibl.CRM/Organizations/action`.
|
|
30291
30634
|
summary: Create an organization
|
|
30635
|
+
parameters:
|
|
30636
|
+
- in: query
|
|
30637
|
+
name: app
|
|
30638
|
+
schema:
|
|
30639
|
+
type: string
|
|
30640
|
+
default: ''
|
|
30641
|
+
maxLength: 64
|
|
30642
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30643
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30292
30644
|
tags:
|
|
30293
30645
|
- crm
|
|
30294
30646
|
requestBody:
|
|
@@ -30331,6 +30683,14 @@ paths:
|
|
|
30331
30683
|
**Required permission:** `Ibl.CRM/Organizations/read`.
|
|
30332
30684
|
summary: Retrieve an organization
|
|
30333
30685
|
parameters:
|
|
30686
|
+
- in: query
|
|
30687
|
+
name: app
|
|
30688
|
+
schema:
|
|
30689
|
+
type: string
|
|
30690
|
+
default: ''
|
|
30691
|
+
maxLength: 64
|
|
30692
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30693
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30334
30694
|
- in: path
|
|
30335
30695
|
name: id
|
|
30336
30696
|
schema:
|
|
@@ -30361,6 +30721,14 @@ paths:
|
|
|
30361
30721
|
**Required permission:** `Ibl.CRM/Organizations/write`.
|
|
30362
30722
|
summary: Replace an organization
|
|
30363
30723
|
parameters:
|
|
30724
|
+
- in: query
|
|
30725
|
+
name: app
|
|
30726
|
+
schema:
|
|
30727
|
+
type: string
|
|
30728
|
+
default: ''
|
|
30729
|
+
maxLength: 64
|
|
30730
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30731
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30364
30732
|
- in: path
|
|
30365
30733
|
name: id
|
|
30366
30734
|
schema:
|
|
@@ -30411,6 +30779,14 @@ paths:
|
|
|
30411
30779
|
**Required permission:** `Ibl.CRM/Organizations/write`.
|
|
30412
30780
|
summary: Update an organization
|
|
30413
30781
|
parameters:
|
|
30782
|
+
- in: query
|
|
30783
|
+
name: app
|
|
30784
|
+
schema:
|
|
30785
|
+
type: string
|
|
30786
|
+
default: ''
|
|
30787
|
+
maxLength: 64
|
|
30788
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30789
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30414
30790
|
- in: path
|
|
30415
30791
|
name: id
|
|
30416
30792
|
schema:
|
|
@@ -30460,6 +30836,14 @@ paths:
|
|
|
30460
30836
|
**Required permission:** `Ibl.CRM/Organizations/delete`.
|
|
30461
30837
|
summary: Delete an organization
|
|
30462
30838
|
parameters:
|
|
30839
|
+
- in: query
|
|
30840
|
+
name: app
|
|
30841
|
+
schema:
|
|
30842
|
+
type: string
|
|
30843
|
+
default: ''
|
|
30844
|
+
maxLength: 64
|
|
30845
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30846
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30463
30847
|
- in: path
|
|
30464
30848
|
name: id
|
|
30465
30849
|
schema:
|
|
@@ -30487,6 +30871,14 @@ paths:
|
|
|
30487
30871
|
**Required permission:** the record's `read` verb.
|
|
30488
30872
|
summary: Field-change history for this record
|
|
30489
30873
|
parameters:
|
|
30874
|
+
- in: query
|
|
30875
|
+
name: app
|
|
30876
|
+
schema:
|
|
30877
|
+
type: string
|
|
30878
|
+
default: ''
|
|
30879
|
+
maxLength: 64
|
|
30880
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30881
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30490
30882
|
- in: path
|
|
30491
30883
|
name: id
|
|
30492
30884
|
schema:
|
|
@@ -30511,6 +30903,47 @@ paths:
|
|
|
30511
30903
|
description: Missing the record's `read` permission.
|
|
30512
30904
|
'404':
|
|
30513
30905
|
description: Record not found.
|
|
30906
|
+
/api/crm/organizations/{id}/metadata/:
|
|
30907
|
+
patch:
|
|
30908
|
+
operationId: crm_organizations_metadata_partial_update
|
|
30909
|
+
description: |-
|
|
30910
|
+
Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
30911
|
+
|
|
30912
|
+
**Required permission:** the record's `write` verb.
|
|
30913
|
+
summary: Merge into this record's metadata
|
|
30914
|
+
parameters:
|
|
30915
|
+
- in: query
|
|
30916
|
+
name: app
|
|
30917
|
+
schema:
|
|
30918
|
+
type: string
|
|
30919
|
+
default: ''
|
|
30920
|
+
maxLength: 64
|
|
30921
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30922
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30923
|
+
- in: path
|
|
30924
|
+
name: id
|
|
30925
|
+
schema:
|
|
30926
|
+
type: string
|
|
30927
|
+
format: uuid
|
|
30928
|
+
description: Opaque UUID — used in API URLs and external references.
|
|
30929
|
+
required: true
|
|
30930
|
+
tags:
|
|
30931
|
+
- crm
|
|
30932
|
+
requestBody:
|
|
30933
|
+
content:
|
|
30934
|
+
application/json:
|
|
30935
|
+
schema:
|
|
30936
|
+
type: object
|
|
30937
|
+
additionalProperties: {}
|
|
30938
|
+
security:
|
|
30939
|
+
- PlatformApiKeyAuthentication: []
|
|
30940
|
+
responses:
|
|
30941
|
+
'200':
|
|
30942
|
+
content:
|
|
30943
|
+
application/json:
|
|
30944
|
+
schema:
|
|
30945
|
+
$ref: '#/components/schemas/Organization'
|
|
30946
|
+
description: ''
|
|
30514
30947
|
/api/crm/organizations/{id}/tags/:
|
|
30515
30948
|
post:
|
|
30516
30949
|
operationId: crm_organizations_tags_create
|
|
@@ -30520,6 +30953,14 @@ paths:
|
|
|
30520
30953
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
30521
30954
|
summary: Attach a tag to this record
|
|
30522
30955
|
parameters:
|
|
30956
|
+
- in: query
|
|
30957
|
+
name: app
|
|
30958
|
+
schema:
|
|
30959
|
+
type: string
|
|
30960
|
+
default: ''
|
|
30961
|
+
maxLength: 64
|
|
30962
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
30963
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30523
30964
|
- in: path
|
|
30524
30965
|
name: id
|
|
30525
30966
|
schema:
|
|
@@ -30569,6 +31010,14 @@ paths:
|
|
|
30569
31010
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
30570
31011
|
summary: Detach a tag from this record
|
|
30571
31012
|
parameters:
|
|
31013
|
+
- in: query
|
|
31014
|
+
name: app
|
|
31015
|
+
schema:
|
|
31016
|
+
type: string
|
|
31017
|
+
default: ''
|
|
31018
|
+
maxLength: 64
|
|
31019
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31020
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30572
31021
|
- in: path
|
|
30573
31022
|
name: id
|
|
30574
31023
|
schema:
|
|
@@ -30593,6 +31042,103 @@ paths:
|
|
|
30593
31042
|
description: No response body
|
|
30594
31043
|
'404':
|
|
30595
31044
|
description: No response body
|
|
31045
|
+
/api/crm/orgs/{org}/web-forms/{slug}/:
|
|
31046
|
+
get:
|
|
31047
|
+
operationId: crm_orgs_web_forms_retrieve
|
|
31048
|
+
description: No credential. The fields as a visitor fills them in, the page
|
|
31049
|
+
copy (`metadata`) and the success text. Unknown, draft and inactive forms
|
|
31050
|
+
are the same 404.
|
|
31051
|
+
summary: A published web form (public)
|
|
31052
|
+
parameters:
|
|
31053
|
+
- in: query
|
|
31054
|
+
name: app
|
|
31055
|
+
schema:
|
|
31056
|
+
type: string
|
|
31057
|
+
default: ''
|
|
31058
|
+
maxLength: 64
|
|
31059
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31060
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31061
|
+
- in: path
|
|
31062
|
+
name: org
|
|
31063
|
+
schema:
|
|
31064
|
+
type: string
|
|
31065
|
+
required: true
|
|
31066
|
+
- in: path
|
|
31067
|
+
name: slug
|
|
31068
|
+
schema:
|
|
31069
|
+
type: string
|
|
31070
|
+
required: true
|
|
31071
|
+
tags:
|
|
31072
|
+
- crm
|
|
31073
|
+
responses:
|
|
31074
|
+
'200':
|
|
31075
|
+
content:
|
|
31076
|
+
application/json:
|
|
31077
|
+
schema:
|
|
31078
|
+
$ref: '#/components/schemas/WebFormPublic'
|
|
31079
|
+
description: ''
|
|
31080
|
+
'404':
|
|
31081
|
+
description: No published form here.
|
|
31082
|
+
/api/crm/orgs/{org}/web-forms/{slug}/submissions/:
|
|
31083
|
+
post:
|
|
31084
|
+
operationId: crm_orgs_web_forms_submissions_create
|
|
31085
|
+
description: 'No credential; JSON only, at most 64 KB. Files the answers into
|
|
31086
|
+
the CRM: the person with this email is reused (gaps filled, nothing overwritten)
|
|
31087
|
+
or created, a deal is opened when the form routes to one, tags and a note
|
|
31088
|
+
are added. Identical answers to the same form within ten minutes return the
|
|
31089
|
+
first submission with `created: false`. Unknown answer keys are dropped. Leave
|
|
31090
|
+
`website` empty: it is a honeypot. Throttled per IP (`CRM_WEB_FORM_SUBMIT_THROTTLE_RATE`,
|
|
31091
|
+
default 20/min).'
|
|
31092
|
+
summary: Submit a published web form (public)
|
|
31093
|
+
parameters:
|
|
31094
|
+
- in: query
|
|
31095
|
+
name: app
|
|
31096
|
+
schema:
|
|
31097
|
+
type: string
|
|
31098
|
+
default: ''
|
|
31099
|
+
maxLength: 64
|
|
31100
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31101
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31102
|
+
- in: path
|
|
31103
|
+
name: org
|
|
31104
|
+
schema:
|
|
31105
|
+
type: string
|
|
31106
|
+
required: true
|
|
31107
|
+
- in: path
|
|
31108
|
+
name: slug
|
|
31109
|
+
schema:
|
|
31110
|
+
type: string
|
|
31111
|
+
required: true
|
|
31112
|
+
tags:
|
|
31113
|
+
- crm
|
|
31114
|
+
requestBody:
|
|
31115
|
+
content:
|
|
31116
|
+
application/json:
|
|
31117
|
+
schema:
|
|
31118
|
+
$ref: '#/components/schemas/WebFormSubmitRequest'
|
|
31119
|
+
required: true
|
|
31120
|
+
responses:
|
|
31121
|
+
'201':
|
|
31122
|
+
content:
|
|
31123
|
+
application/json:
|
|
31124
|
+
schema:
|
|
31125
|
+
$ref: '#/components/schemas/WebFormSubmitResponse'
|
|
31126
|
+
description: ''
|
|
31127
|
+
'400':
|
|
31128
|
+
content:
|
|
31129
|
+
application/json:
|
|
31130
|
+
schema:
|
|
31131
|
+
type: object
|
|
31132
|
+
additionalProperties: {}
|
|
31133
|
+
description: '`{issues: {<field key>|non_field_errors: [message]}}`.'
|
|
31134
|
+
'404':
|
|
31135
|
+
description: No published form here.
|
|
31136
|
+
'413':
|
|
31137
|
+
description: Body over 64 KB.
|
|
31138
|
+
'415':
|
|
31139
|
+
description: Not JSON.
|
|
31140
|
+
'429':
|
|
31141
|
+
description: Too many submissions from this IP.
|
|
30596
31142
|
/api/crm/overview/:
|
|
30597
31143
|
get:
|
|
30598
31144
|
operationId: crm_overview_retrieve
|
|
@@ -30604,6 +31150,14 @@ paths:
|
|
|
30604
31150
|
**Required permission:** the `list` verb of each section.
|
|
30605
31151
|
summary: CRM overview
|
|
30606
31152
|
parameters:
|
|
31153
|
+
- in: query
|
|
31154
|
+
name: app
|
|
31155
|
+
schema:
|
|
31156
|
+
type: string
|
|
31157
|
+
default: ''
|
|
31158
|
+
maxLength: 64
|
|
31159
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31160
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30607
31161
|
- in: query
|
|
30608
31162
|
name: date_filter
|
|
30609
31163
|
schema:
|
|
@@ -30654,7 +31208,7 @@ paths:
|
|
|
30654
31208
|
get:
|
|
30655
31209
|
operationId: crm_persons_list
|
|
30656
31210
|
description: |-
|
|
30657
|
-
Returns a paginated list of persons in your Platform. Supports filtering by `lifecycle_stage`, `owner`, `organization`, `created_at__gte`/`created_at__lte`, and `metadata__has_key`.
|
|
31211
|
+
Returns a paginated list of persons in your Platform. Supports filtering by `lifecycle_stage`, `owner`, `organization`, `primary_email` (exact, ignoring case), `created_at__gte`/`created_at__lte`, and `metadata__has_key`.
|
|
30658
31212
|
|
|
30659
31213
|
**Required permission:** `Ibl.CRM/Persons/list`.
|
|
30660
31214
|
summary: List persons
|
|
@@ -30663,6 +31217,14 @@ paths:
|
|
|
30663
31217
|
name: active
|
|
30664
31218
|
schema:
|
|
30665
31219
|
type: boolean
|
|
31220
|
+
- in: query
|
|
31221
|
+
name: app
|
|
31222
|
+
schema:
|
|
31223
|
+
type: string
|
|
31224
|
+
default: ''
|
|
31225
|
+
maxLength: 64
|
|
31226
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31227
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30666
31228
|
- in: query
|
|
30667
31229
|
name: created_at__gte
|
|
30668
31230
|
schema:
|
|
@@ -30743,6 +31305,10 @@ paths:
|
|
|
30743
31305
|
description: Number of results to return per page.
|
|
30744
31306
|
schema:
|
|
30745
31307
|
type: integer
|
|
31308
|
+
- in: query
|
|
31309
|
+
name: primary_email
|
|
31310
|
+
schema:
|
|
31311
|
+
type: string
|
|
30746
31312
|
- name: search
|
|
30747
31313
|
required: false
|
|
30748
31314
|
in: query
|
|
@@ -30782,6 +31348,15 @@ paths:
|
|
|
30782
31348
|
|
|
30783
31349
|
**Required permission:** `Ibl.CRM/Persons/action`.
|
|
30784
31350
|
summary: Create a person
|
|
31351
|
+
parameters:
|
|
31352
|
+
- in: query
|
|
31353
|
+
name: app
|
|
31354
|
+
schema:
|
|
31355
|
+
type: string
|
|
31356
|
+
default: ''
|
|
31357
|
+
maxLength: 64
|
|
31358
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31359
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30785
31360
|
tags:
|
|
30786
31361
|
- crm
|
|
30787
31362
|
requestBody:
|
|
@@ -30824,6 +31399,14 @@ paths:
|
|
|
30824
31399
|
**Required permission:** `Ibl.CRM/Persons/read`.
|
|
30825
31400
|
summary: Retrieve a person
|
|
30826
31401
|
parameters:
|
|
31402
|
+
- in: query
|
|
31403
|
+
name: app
|
|
31404
|
+
schema:
|
|
31405
|
+
type: string
|
|
31406
|
+
default: ''
|
|
31407
|
+
maxLength: 64
|
|
31408
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31409
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30827
31410
|
- in: path
|
|
30828
31411
|
name: id
|
|
30829
31412
|
schema:
|
|
@@ -30854,6 +31437,14 @@ paths:
|
|
|
30854
31437
|
**Required permission:** `Ibl.CRM/Persons/write`.
|
|
30855
31438
|
summary: Replace a person
|
|
30856
31439
|
parameters:
|
|
31440
|
+
- in: query
|
|
31441
|
+
name: app
|
|
31442
|
+
schema:
|
|
31443
|
+
type: string
|
|
31444
|
+
default: ''
|
|
31445
|
+
maxLength: 64
|
|
31446
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31447
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30857
31448
|
- in: path
|
|
30858
31449
|
name: id
|
|
30859
31450
|
schema:
|
|
@@ -30904,6 +31495,14 @@ paths:
|
|
|
30904
31495
|
**Required permission:** `Ibl.CRM/Persons/write`.
|
|
30905
31496
|
summary: Update a person
|
|
30906
31497
|
parameters:
|
|
31498
|
+
- in: query
|
|
31499
|
+
name: app
|
|
31500
|
+
schema:
|
|
31501
|
+
type: string
|
|
31502
|
+
default: ''
|
|
31503
|
+
maxLength: 64
|
|
31504
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31505
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30907
31506
|
- in: path
|
|
30908
31507
|
name: id
|
|
30909
31508
|
schema:
|
|
@@ -30953,6 +31552,14 @@ paths:
|
|
|
30953
31552
|
**Required permission:** `Ibl.CRM/Persons/delete`.
|
|
30954
31553
|
summary: Delete a person
|
|
30955
31554
|
parameters:
|
|
31555
|
+
- in: query
|
|
31556
|
+
name: app
|
|
31557
|
+
schema:
|
|
31558
|
+
type: string
|
|
31559
|
+
default: ''
|
|
31560
|
+
maxLength: 64
|
|
31561
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31562
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30956
31563
|
- in: path
|
|
30957
31564
|
name: id
|
|
30958
31565
|
schema:
|
|
@@ -30982,6 +31589,14 @@ paths:
|
|
|
30982
31589
|
**Required permission:** the record's `read` verb.
|
|
30983
31590
|
summary: Field-change history for this record
|
|
30984
31591
|
parameters:
|
|
31592
|
+
- in: query
|
|
31593
|
+
name: app
|
|
31594
|
+
schema:
|
|
31595
|
+
type: string
|
|
31596
|
+
default: ''
|
|
31597
|
+
maxLength: 64
|
|
31598
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31599
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
30985
31600
|
- in: path
|
|
30986
31601
|
name: id
|
|
30987
31602
|
schema:
|
|
@@ -31014,9 +31629,17 @@ paths:
|
|
|
31014
31629
|
|
|
31015
31630
|
Returns `409 Conflict` if an active invitation already exists for this email in your Platform, and `422 Unprocessable Entity` if the person is already linked to a platform user.
|
|
31016
31631
|
|
|
31017
|
-
**Required permission:** `Ibl.CRM/Invite/action`.
|
|
31632
|
+
**Required permission:** `Ibl.CRM/Invite/action`; `is_admin` or `is_staff` also needs `Ibl.Catalog/PlatformInvitations/action`.
|
|
31018
31633
|
summary: Invite a person to the platform
|
|
31019
31634
|
parameters:
|
|
31635
|
+
- in: query
|
|
31636
|
+
name: app
|
|
31637
|
+
schema:
|
|
31638
|
+
type: string
|
|
31639
|
+
default: ''
|
|
31640
|
+
maxLength: 64
|
|
31641
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31642
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31020
31643
|
- in: path
|
|
31021
31644
|
name: id
|
|
31022
31645
|
schema:
|
|
@@ -31055,7 +31678,8 @@ paths:
|
|
|
31055
31678
|
'400':
|
|
31056
31679
|
description: Person has no `primary_email`; cannot invite.
|
|
31057
31680
|
'403':
|
|
31058
|
-
description: Missing
|
|
31681
|
+
description: Missing `Ibl.CRM/Invite/action`, or `Ibl.Catalog/PlatformInvitations/action`
|
|
31682
|
+
for `is_admin` / `is_staff`; an API key never grants them.
|
|
31059
31683
|
'404':
|
|
31060
31684
|
description: Person not found.
|
|
31061
31685
|
'409':
|
|
@@ -31077,6 +31701,14 @@ paths:
|
|
|
31077
31701
|
**Required permission:** `Ibl.CRM/Persons/write`.
|
|
31078
31702
|
summary: Bind a person to an existing platform user
|
|
31079
31703
|
parameters:
|
|
31704
|
+
- in: query
|
|
31705
|
+
name: app
|
|
31706
|
+
schema:
|
|
31707
|
+
type: string
|
|
31708
|
+
default: ''
|
|
31709
|
+
maxLength: 64
|
|
31710
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31711
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31080
31712
|
- in: path
|
|
31081
31713
|
name: id
|
|
31082
31714
|
schema:
|
|
@@ -31120,6 +31752,47 @@ paths:
|
|
|
31120
31752
|
target user is not a member of your Platform.
|
|
31121
31753
|
'404':
|
|
31122
31754
|
description: Person or user not found.
|
|
31755
|
+
/api/crm/persons/{id}/metadata/:
|
|
31756
|
+
patch:
|
|
31757
|
+
operationId: crm_persons_metadata_partial_update
|
|
31758
|
+
description: |-
|
|
31759
|
+
Applies a JSON merge patch (RFC 7386) to `metadata` under a row lock: objects merge key by key, `null` removes a key, any other value replaces it. Two merges never lose each other's keys; a plain `PATCH` still replaces `metadata` whole.
|
|
31760
|
+
|
|
31761
|
+
**Required permission:** the record's `write` verb.
|
|
31762
|
+
summary: Merge into this record's metadata
|
|
31763
|
+
parameters:
|
|
31764
|
+
- in: query
|
|
31765
|
+
name: app
|
|
31766
|
+
schema:
|
|
31767
|
+
type: string
|
|
31768
|
+
default: ''
|
|
31769
|
+
maxLength: 64
|
|
31770
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31771
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31772
|
+
- in: path
|
|
31773
|
+
name: id
|
|
31774
|
+
schema:
|
|
31775
|
+
type: string
|
|
31776
|
+
format: uuid
|
|
31777
|
+
description: Opaque UUID — used in API URLs and external references.
|
|
31778
|
+
required: true
|
|
31779
|
+
tags:
|
|
31780
|
+
- crm
|
|
31781
|
+
requestBody:
|
|
31782
|
+
content:
|
|
31783
|
+
application/json:
|
|
31784
|
+
schema:
|
|
31785
|
+
type: object
|
|
31786
|
+
additionalProperties: {}
|
|
31787
|
+
security:
|
|
31788
|
+
- PlatformApiKeyAuthentication: []
|
|
31789
|
+
responses:
|
|
31790
|
+
'200':
|
|
31791
|
+
content:
|
|
31792
|
+
application/json:
|
|
31793
|
+
schema:
|
|
31794
|
+
$ref: '#/components/schemas/Person'
|
|
31795
|
+
description: ''
|
|
31123
31796
|
/api/crm/persons/{id}/tags/:
|
|
31124
31797
|
post:
|
|
31125
31798
|
operationId: crm_persons_tags_create
|
|
@@ -31129,6 +31802,14 @@ paths:
|
|
|
31129
31802
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
31130
31803
|
summary: Attach a tag to this record
|
|
31131
31804
|
parameters:
|
|
31805
|
+
- in: query
|
|
31806
|
+
name: app
|
|
31807
|
+
schema:
|
|
31808
|
+
type: string
|
|
31809
|
+
default: ''
|
|
31810
|
+
maxLength: 64
|
|
31811
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31812
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31132
31813
|
- in: path
|
|
31133
31814
|
name: id
|
|
31134
31815
|
schema:
|
|
@@ -31178,6 +31859,14 @@ paths:
|
|
|
31178
31859
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
31179
31860
|
summary: Detach a tag from this record
|
|
31180
31861
|
parameters:
|
|
31862
|
+
- in: query
|
|
31863
|
+
name: app
|
|
31864
|
+
schema:
|
|
31865
|
+
type: string
|
|
31866
|
+
default: ''
|
|
31867
|
+
maxLength: 64
|
|
31868
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31869
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31181
31870
|
- in: path
|
|
31182
31871
|
name: id
|
|
31183
31872
|
schema:
|
|
@@ -31206,12 +31895,21 @@ paths:
|
|
|
31206
31895
|
post:
|
|
31207
31896
|
operationId: crm_persons_merge_create
|
|
31208
31897
|
description: |-
|
|
31209
|
-
Marks each person in `duplicate_ids` as inactive and reports how many related records (deals, activities, tags) were re-parented onto `primary_id`.
|
|
31898
|
+
Marks each person in `duplicate_ids` as inactive, moves a duplicate's platform-user link to the primary (which retires the primary, as a link does) and clears it on the retired rows, and reports how many related records (deals, activities, tags) were re-parented onto `primary_id`.
|
|
31210
31899
|
|
|
31211
31900
|
All ids — both the primary and every duplicate — must belong to your Platform. `primary_id` may not appear in `duplicate_ids`.
|
|
31212
31901
|
|
|
31213
31902
|
**Required permission:** `Ibl.CRM/Persons/write`.
|
|
31214
31903
|
summary: Merge duplicate persons into a primary
|
|
31904
|
+
parameters:
|
|
31905
|
+
- in: query
|
|
31906
|
+
name: app
|
|
31907
|
+
schema:
|
|
31908
|
+
type: string
|
|
31909
|
+
default: ''
|
|
31910
|
+
maxLength: 64
|
|
31911
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31912
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31215
31913
|
tags:
|
|
31216
31914
|
- crm
|
|
31217
31915
|
requestBody:
|
|
@@ -31242,8 +31940,9 @@ paths:
|
|
|
31242
31940
|
$ref: '#/components/schemas/PersonMergeResponse'
|
|
31243
31941
|
description: ''
|
|
31244
31942
|
'400':
|
|
31245
|
-
description: 'Validation error: the primary appears in duplicates, or
|
|
31246
|
-
|
|
31943
|
+
description: 'Validation error: the primary appears in duplicates, one or
|
|
31944
|
+
more ids belong to another Platform, or the persons are linked to different
|
|
31945
|
+
platform users.'
|
|
31247
31946
|
'403':
|
|
31248
31947
|
description: Missing required permission `Ibl.CRM/Persons/write`.
|
|
31249
31948
|
'404':
|
|
@@ -31257,6 +31956,14 @@ paths:
|
|
|
31257
31956
|
**Required permission:** `Ibl.CRM/Pipelines/list`.
|
|
31258
31957
|
summary: List pipelines
|
|
31259
31958
|
parameters:
|
|
31959
|
+
- in: query
|
|
31960
|
+
name: app
|
|
31961
|
+
schema:
|
|
31962
|
+
type: string
|
|
31963
|
+
default: ''
|
|
31964
|
+
maxLength: 64
|
|
31965
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
31966
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31260
31967
|
- in: query
|
|
31261
31968
|
name: code
|
|
31262
31969
|
schema:
|
|
@@ -31343,6 +32050,15 @@ paths:
|
|
|
31343
32050
|
|
|
31344
32051
|
**Required permission:** `Ibl.CRM/Pipelines/action`.
|
|
31345
32052
|
summary: Create a pipeline
|
|
32053
|
+
parameters:
|
|
32054
|
+
- in: query
|
|
32055
|
+
name: app
|
|
32056
|
+
schema:
|
|
32057
|
+
type: string
|
|
32058
|
+
default: ''
|
|
32059
|
+
maxLength: 64
|
|
32060
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32061
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31346
32062
|
tags:
|
|
31347
32063
|
- crm
|
|
31348
32064
|
requestBody:
|
|
@@ -31385,6 +32101,14 @@ paths:
|
|
|
31385
32101
|
**Required permission:** `Ibl.CRM/Pipelines/list`.
|
|
31386
32102
|
summary: List stages for a pipeline
|
|
31387
32103
|
parameters:
|
|
32104
|
+
- in: query
|
|
32105
|
+
name: app
|
|
32106
|
+
schema:
|
|
32107
|
+
type: string
|
|
32108
|
+
default: ''
|
|
32109
|
+
maxLength: 64
|
|
32110
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32111
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31388
32112
|
- in: query
|
|
31389
32113
|
name: code
|
|
31390
32114
|
schema:
|
|
@@ -31477,6 +32201,14 @@ paths:
|
|
|
31477
32201
|
**Required permission:** `Ibl.CRM/Pipelines/action`.
|
|
31478
32202
|
summary: Create a stage
|
|
31479
32203
|
parameters:
|
|
32204
|
+
- in: query
|
|
32205
|
+
name: app
|
|
32206
|
+
schema:
|
|
32207
|
+
type: string
|
|
32208
|
+
default: ''
|
|
32209
|
+
maxLength: 64
|
|
32210
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32211
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31480
32212
|
- in: path
|
|
31481
32213
|
name: pipeline_pk
|
|
31482
32214
|
schema:
|
|
@@ -31526,6 +32258,14 @@ paths:
|
|
|
31526
32258
|
**Required permission:** `Ibl.CRM/Pipelines/read`.
|
|
31527
32259
|
summary: Retrieve a stage
|
|
31528
32260
|
parameters:
|
|
32261
|
+
- in: query
|
|
32262
|
+
name: app
|
|
32263
|
+
schema:
|
|
32264
|
+
type: string
|
|
32265
|
+
default: ''
|
|
32266
|
+
maxLength: 64
|
|
32267
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32268
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31529
32269
|
- in: path
|
|
31530
32270
|
name: id
|
|
31531
32271
|
schema:
|
|
@@ -31559,6 +32299,14 @@ paths:
|
|
|
31559
32299
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
31560
32300
|
summary: Replace a stage
|
|
31561
32301
|
parameters:
|
|
32302
|
+
- in: query
|
|
32303
|
+
name: app
|
|
32304
|
+
schema:
|
|
32305
|
+
type: string
|
|
32306
|
+
default: ''
|
|
32307
|
+
maxLength: 64
|
|
32308
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32309
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31562
32310
|
- in: path
|
|
31563
32311
|
name: id
|
|
31564
32312
|
schema:
|
|
@@ -31612,6 +32360,14 @@ paths:
|
|
|
31612
32360
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
31613
32361
|
summary: Update a stage
|
|
31614
32362
|
parameters:
|
|
32363
|
+
- in: query
|
|
32364
|
+
name: app
|
|
32365
|
+
schema:
|
|
32366
|
+
type: string
|
|
32367
|
+
default: ''
|
|
32368
|
+
maxLength: 64
|
|
32369
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32370
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31615
32371
|
- in: path
|
|
31616
32372
|
name: id
|
|
31617
32373
|
schema:
|
|
@@ -31664,6 +32420,14 @@ paths:
|
|
|
31664
32420
|
**Required permission:** `Ibl.CRM/Pipelines/delete`.
|
|
31665
32421
|
summary: Delete a stage
|
|
31666
32422
|
parameters:
|
|
32423
|
+
- in: query
|
|
32424
|
+
name: app
|
|
32425
|
+
schema:
|
|
32426
|
+
type: string
|
|
32427
|
+
default: ''
|
|
32428
|
+
maxLength: 64
|
|
32429
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32430
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31667
32431
|
- in: path
|
|
31668
32432
|
name: id
|
|
31669
32433
|
schema:
|
|
@@ -31696,6 +32460,14 @@ paths:
|
|
|
31696
32460
|
**Required permission:** `Ibl.CRM/Pipelines/read`.
|
|
31697
32461
|
summary: Retrieve a pipeline
|
|
31698
32462
|
parameters:
|
|
32463
|
+
- in: query
|
|
32464
|
+
name: app
|
|
32465
|
+
schema:
|
|
32466
|
+
type: string
|
|
32467
|
+
default: ''
|
|
32468
|
+
maxLength: 64
|
|
32469
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32470
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31699
32471
|
- in: path
|
|
31700
32472
|
name: id
|
|
31701
32473
|
schema:
|
|
@@ -31725,6 +32497,14 @@ paths:
|
|
|
31725
32497
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
31726
32498
|
summary: Replace a pipeline
|
|
31727
32499
|
parameters:
|
|
32500
|
+
- in: query
|
|
32501
|
+
name: app
|
|
32502
|
+
schema:
|
|
32503
|
+
type: string
|
|
32504
|
+
default: ''
|
|
32505
|
+
maxLength: 64
|
|
32506
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32507
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31728
32508
|
- in: path
|
|
31729
32509
|
name: id
|
|
31730
32510
|
schema:
|
|
@@ -31774,6 +32554,14 @@ paths:
|
|
|
31774
32554
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
31775
32555
|
summary: Update a pipeline
|
|
31776
32556
|
parameters:
|
|
32557
|
+
- in: query
|
|
32558
|
+
name: app
|
|
32559
|
+
schema:
|
|
32560
|
+
type: string
|
|
32561
|
+
default: ''
|
|
32562
|
+
maxLength: 64
|
|
32563
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32564
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31777
32565
|
- in: path
|
|
31778
32566
|
name: id
|
|
31779
32567
|
schema:
|
|
@@ -31822,6 +32610,14 @@ paths:
|
|
|
31822
32610
|
**Required permission:** `Ibl.CRM/Pipelines/delete`.
|
|
31823
32611
|
summary: Delete a pipeline
|
|
31824
32612
|
parameters:
|
|
32613
|
+
- in: query
|
|
32614
|
+
name: app
|
|
32615
|
+
schema:
|
|
32616
|
+
type: string
|
|
32617
|
+
default: ''
|
|
32618
|
+
maxLength: 64
|
|
32619
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32620
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31825
32621
|
- in: path
|
|
31826
32622
|
name: id
|
|
31827
32623
|
schema:
|
|
@@ -31850,6 +32646,14 @@ paths:
|
|
|
31850
32646
|
**Required permission:** `Ibl.CRM/Pipelines/write`.
|
|
31851
32647
|
summary: Reorder a pipeline's stages
|
|
31852
32648
|
parameters:
|
|
32649
|
+
- in: query
|
|
32650
|
+
name: app
|
|
32651
|
+
schema:
|
|
32652
|
+
type: string
|
|
32653
|
+
default: ''
|
|
32654
|
+
maxLength: 64
|
|
32655
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32656
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31853
32657
|
- in: path
|
|
31854
32658
|
name: id
|
|
31855
32659
|
schema:
|
|
@@ -31900,6 +32704,14 @@ paths:
|
|
|
31900
32704
|
**Required permission:** `Ibl.CRM/Persons/list`, `Ibl.CRM/Organizations/list` or `Ibl.CRM/Deals/list` (at least one).
|
|
31901
32705
|
summary: Search persons, organizations and deals
|
|
31902
32706
|
parameters:
|
|
32707
|
+
- in: query
|
|
32708
|
+
name: app
|
|
32709
|
+
schema:
|
|
32710
|
+
type: string
|
|
32711
|
+
default: ''
|
|
32712
|
+
maxLength: 64
|
|
32713
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32714
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31903
32715
|
- in: query
|
|
31904
32716
|
name: limit
|
|
31905
32717
|
schema:
|
|
@@ -31930,11 +32742,19 @@ paths:
|
|
|
31930
32742
|
get:
|
|
31931
32743
|
operationId: crm_tags_list
|
|
31932
32744
|
description: |-
|
|
31933
|
-
Returns a paginated list of Tags in your Platform. Supports filtering by `name` (case-insensitive substring) and `created_at__gte`/`created_at__lte` ISO timestamp ranges.
|
|
32745
|
+
Returns a paginated list of Tags in your Platform. Supports filtering by `name` (case-insensitive substring), `name__iexact` (exact, ignoring case) and `created_at__gte`/`created_at__lte` ISO timestamp ranges.
|
|
31934
32746
|
|
|
31935
32747
|
**Required permission:** `Ibl.CRM/Tags/list`.
|
|
31936
32748
|
summary: List tags
|
|
31937
32749
|
parameters:
|
|
32750
|
+
- in: query
|
|
32751
|
+
name: app
|
|
32752
|
+
schema:
|
|
32753
|
+
type: string
|
|
32754
|
+
default: ''
|
|
32755
|
+
maxLength: 64
|
|
32756
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32757
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
31938
32758
|
- in: query
|
|
31939
32759
|
name: created_at__gte
|
|
31940
32760
|
schema:
|
|
@@ -31970,6 +32790,10 @@ paths:
|
|
|
31970
32790
|
name: name
|
|
31971
32791
|
schema:
|
|
31972
32792
|
type: string
|
|
32793
|
+
- in: query
|
|
32794
|
+
name: name__iexact
|
|
32795
|
+
schema:
|
|
32796
|
+
type: string
|
|
31973
32797
|
- name: ordering
|
|
31974
32798
|
required: false
|
|
31975
32799
|
in: query
|
|
@@ -32023,6 +32847,15 @@ paths:
|
|
|
32023
32847
|
|
|
32024
32848
|
**Required permission:** `Ibl.CRM/Tags/action`.
|
|
32025
32849
|
summary: Create a tag
|
|
32850
|
+
parameters:
|
|
32851
|
+
- in: query
|
|
32852
|
+
name: app
|
|
32853
|
+
schema:
|
|
32854
|
+
type: string
|
|
32855
|
+
default: ''
|
|
32856
|
+
maxLength: 64
|
|
32857
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32858
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32026
32859
|
tags:
|
|
32027
32860
|
- crm
|
|
32028
32861
|
requestBody:
|
|
@@ -32065,6 +32898,14 @@ paths:
|
|
|
32065
32898
|
**Required permission:** `Ibl.CRM/Tags/read`.
|
|
32066
32899
|
summary: Retrieve a tag
|
|
32067
32900
|
parameters:
|
|
32901
|
+
- in: query
|
|
32902
|
+
name: app
|
|
32903
|
+
schema:
|
|
32904
|
+
type: string
|
|
32905
|
+
default: ''
|
|
32906
|
+
maxLength: 64
|
|
32907
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32908
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32068
32909
|
- in: path
|
|
32069
32910
|
name: id
|
|
32070
32911
|
schema:
|
|
@@ -32094,6 +32935,14 @@ paths:
|
|
|
32094
32935
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
32095
32936
|
summary: Replace a tag
|
|
32096
32937
|
parameters:
|
|
32938
|
+
- in: query
|
|
32939
|
+
name: app
|
|
32940
|
+
schema:
|
|
32941
|
+
type: string
|
|
32942
|
+
default: ''
|
|
32943
|
+
maxLength: 64
|
|
32944
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
32945
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32097
32946
|
- in: path
|
|
32098
32947
|
name: id
|
|
32099
32948
|
schema:
|
|
@@ -32143,6 +32992,14 @@ paths:
|
|
|
32143
32992
|
**Required permission:** `Ibl.CRM/Tags/write`.
|
|
32144
32993
|
summary: Update a tag
|
|
32145
32994
|
parameters:
|
|
32995
|
+
- in: query
|
|
32996
|
+
name: app
|
|
32997
|
+
schema:
|
|
32998
|
+
type: string
|
|
32999
|
+
default: ''
|
|
33000
|
+
maxLength: 64
|
|
33001
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33002
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32146
33003
|
- in: path
|
|
32147
33004
|
name: id
|
|
32148
33005
|
schema:
|
|
@@ -32191,6 +33048,14 @@ paths:
|
|
|
32191
33048
|
**Required permission:** `Ibl.CRM/Tags/delete`.
|
|
32192
33049
|
summary: Delete a tag
|
|
32193
33050
|
parameters:
|
|
33051
|
+
- in: query
|
|
33052
|
+
name: app
|
|
33053
|
+
schema:
|
|
33054
|
+
type: string
|
|
33055
|
+
default: ''
|
|
33056
|
+
maxLength: 64
|
|
33057
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33058
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32194
33059
|
- in: path
|
|
32195
33060
|
name: id
|
|
32196
33061
|
schema:
|
|
@@ -32217,6 +33082,14 @@ paths:
|
|
|
32217
33082
|
**Required permission:** `Ibl.CRM/Views/list`.
|
|
32218
33083
|
summary: List my saved views
|
|
32219
33084
|
parameters:
|
|
33085
|
+
- in: query
|
|
33086
|
+
name: app
|
|
33087
|
+
schema:
|
|
33088
|
+
type: string
|
|
33089
|
+
default: ''
|
|
33090
|
+
maxLength: 64
|
|
33091
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33092
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32220
33093
|
- name: date_filter
|
|
32221
33094
|
in: query
|
|
32222
33095
|
required: false
|
|
@@ -32319,6 +33192,15 @@ paths:
|
|
|
32319
33192
|
|
|
32320
33193
|
**Required permission:** `Ibl.CRM/Views/action`.
|
|
32321
33194
|
summary: Save a view
|
|
33195
|
+
parameters:
|
|
33196
|
+
- in: query
|
|
33197
|
+
name: app
|
|
33198
|
+
schema:
|
|
33199
|
+
type: string
|
|
33200
|
+
default: ''
|
|
33201
|
+
maxLength: 64
|
|
33202
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33203
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32322
33204
|
tags:
|
|
32323
33205
|
- crm
|
|
32324
33206
|
requestBody:
|
|
@@ -32358,6 +33240,14 @@ paths:
|
|
|
32358
33240
|
description: '**Required permission:** `Ibl.CRM/Views/read`.'
|
|
32359
33241
|
summary: Retrieve a saved view
|
|
32360
33242
|
parameters:
|
|
33243
|
+
- in: query
|
|
33244
|
+
name: app
|
|
33245
|
+
schema:
|
|
33246
|
+
type: string
|
|
33247
|
+
default: ''
|
|
33248
|
+
maxLength: 64
|
|
33249
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33250
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32361
33251
|
- in: path
|
|
32362
33252
|
name: id
|
|
32363
33253
|
schema:
|
|
@@ -32384,6 +33274,14 @@ paths:
|
|
|
32384
33274
|
description: '**Required permission:** `Ibl.CRM/Views/write`.'
|
|
32385
33275
|
summary: Replace a saved view
|
|
32386
33276
|
parameters:
|
|
33277
|
+
- in: query
|
|
33278
|
+
name: app
|
|
33279
|
+
schema:
|
|
33280
|
+
type: string
|
|
33281
|
+
default: ''
|
|
33282
|
+
maxLength: 64
|
|
33283
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33284
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32387
33285
|
- in: path
|
|
32388
33286
|
name: id
|
|
32389
33287
|
schema:
|
|
@@ -32430,6 +33328,14 @@ paths:
|
|
|
32430
33328
|
description: '**Required permission:** `Ibl.CRM/Views/write`.'
|
|
32431
33329
|
summary: Update a saved view
|
|
32432
33330
|
parameters:
|
|
33331
|
+
- in: query
|
|
33332
|
+
name: app
|
|
33333
|
+
schema:
|
|
33334
|
+
type: string
|
|
33335
|
+
default: ''
|
|
33336
|
+
maxLength: 64
|
|
33337
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33338
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32433
33339
|
- in: path
|
|
32434
33340
|
name: id
|
|
32435
33341
|
schema:
|
|
@@ -32475,6 +33381,14 @@ paths:
|
|
|
32475
33381
|
description: '**Required permission:** `Ibl.CRM/Views/delete`.'
|
|
32476
33382
|
summary: Delete a saved view
|
|
32477
33383
|
parameters:
|
|
33384
|
+
- in: query
|
|
33385
|
+
name: app
|
|
33386
|
+
schema:
|
|
33387
|
+
type: string
|
|
33388
|
+
default: ''
|
|
33389
|
+
maxLength: 64
|
|
33390
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33391
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
32478
33392
|
- in: path
|
|
32479
33393
|
name: id
|
|
32480
33394
|
schema:
|
|
@@ -32492,6 +33406,368 @@ paths:
|
|
|
32492
33406
|
description: Missing required permission `Ibl.CRM/Views/delete`.
|
|
32493
33407
|
'404':
|
|
32494
33408
|
description: View not found.
|
|
33409
|
+
/api/crm/web-forms/:
|
|
33410
|
+
get:
|
|
33411
|
+
operationId: crm_web_forms_list
|
|
33412
|
+
description: |-
|
|
33413
|
+
Your Platform's web forms, drafts included.
|
|
33414
|
+
|
|
33415
|
+
**Required permission:** `Ibl.CRM/WebForms/list`.
|
|
33416
|
+
summary: List web forms
|
|
33417
|
+
parameters:
|
|
33418
|
+
- in: query
|
|
33419
|
+
name: app
|
|
33420
|
+
schema:
|
|
33421
|
+
type: string
|
|
33422
|
+
default: ''
|
|
33423
|
+
maxLength: 64
|
|
33424
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33425
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33426
|
+
- name: date_filter
|
|
33427
|
+
in: query
|
|
33428
|
+
required: false
|
|
33429
|
+
description: Only rows created in this window. `custom` needs `start_date`
|
|
33430
|
+
and `end_date`.
|
|
33431
|
+
schema:
|
|
33432
|
+
type: string
|
|
33433
|
+
enum:
|
|
33434
|
+
- today
|
|
33435
|
+
- 7d
|
|
33436
|
+
- 30d
|
|
33437
|
+
- 90d
|
|
33438
|
+
- all_time
|
|
33439
|
+
- custom
|
|
33440
|
+
- name: end_date
|
|
33441
|
+
in: query
|
|
33442
|
+
required: false
|
|
33443
|
+
description: Last day of a custom window, inclusive (YYYY-MM-DD).
|
|
33444
|
+
schema:
|
|
33445
|
+
type: string
|
|
33446
|
+
format: date
|
|
33447
|
+
- name: ordering
|
|
33448
|
+
required: false
|
|
33449
|
+
in: query
|
|
33450
|
+
description: Which field to use when ordering the results.
|
|
33451
|
+
schema:
|
|
33452
|
+
type: string
|
|
33453
|
+
- name: page
|
|
33454
|
+
required: false
|
|
33455
|
+
in: query
|
|
33456
|
+
description: A page number within the paginated result set.
|
|
33457
|
+
schema:
|
|
33458
|
+
type: integer
|
|
33459
|
+
- name: page_size
|
|
33460
|
+
required: false
|
|
33461
|
+
in: query
|
|
33462
|
+
description: Number of results to return per page.
|
|
33463
|
+
schema:
|
|
33464
|
+
type: integer
|
|
33465
|
+
- name: search
|
|
33466
|
+
required: false
|
|
33467
|
+
in: query
|
|
33468
|
+
description: A search term.
|
|
33469
|
+
schema:
|
|
33470
|
+
type: string
|
|
33471
|
+
- name: start_date
|
|
33472
|
+
in: query
|
|
33473
|
+
required: false
|
|
33474
|
+
description: First day of a custom window (YYYY-MM-DD).
|
|
33475
|
+
schema:
|
|
33476
|
+
type: string
|
|
33477
|
+
format: date
|
|
33478
|
+
tags:
|
|
33479
|
+
- crm
|
|
33480
|
+
security:
|
|
33481
|
+
- PlatformApiKeyAuthentication: []
|
|
33482
|
+
responses:
|
|
33483
|
+
'200':
|
|
33484
|
+
content:
|
|
33485
|
+
application/json:
|
|
33486
|
+
schema:
|
|
33487
|
+
$ref: '#/components/schemas/PaginatedWebFormList'
|
|
33488
|
+
description: ''
|
|
33489
|
+
post:
|
|
33490
|
+
operationId: crm_web_forms_create
|
|
33491
|
+
description: |-
|
|
33492
|
+
`fields` and `routing` are stored with every key present. Publishing needs a field mapped to `person.primary_email` and one to `person.name` or `person.first_name`. A `routing.lead_source_code` no lead source has yet is created with the form, named after it.
|
|
33493
|
+
|
|
33494
|
+
**Required permission:** `Ibl.CRM/WebForms/action`; a new `lead_source_code` also needs `Ibl.CRM/Pipelines/action`.
|
|
33495
|
+
summary: Create a web form
|
|
33496
|
+
parameters:
|
|
33497
|
+
- in: query
|
|
33498
|
+
name: app
|
|
33499
|
+
schema:
|
|
33500
|
+
type: string
|
|
33501
|
+
default: ''
|
|
33502
|
+
maxLength: 64
|
|
33503
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33504
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33505
|
+
tags:
|
|
33506
|
+
- crm
|
|
33507
|
+
requestBody:
|
|
33508
|
+
content:
|
|
33509
|
+
application/json:
|
|
33510
|
+
schema:
|
|
33511
|
+
$ref: '#/components/schemas/WebForm'
|
|
33512
|
+
application/scim+json:
|
|
33513
|
+
schema:
|
|
33514
|
+
$ref: '#/components/schemas/WebForm'
|
|
33515
|
+
application/x-www-form-urlencoded:
|
|
33516
|
+
schema:
|
|
33517
|
+
$ref: '#/components/schemas/WebForm'
|
|
33518
|
+
multipart/form-data:
|
|
33519
|
+
schema:
|
|
33520
|
+
$ref: '#/components/schemas/WebForm'
|
|
33521
|
+
'*/*':
|
|
33522
|
+
schema:
|
|
33523
|
+
$ref: '#/components/schemas/WebForm'
|
|
33524
|
+
required: true
|
|
33525
|
+
security:
|
|
33526
|
+
- PlatformApiKeyAuthentication: []
|
|
33527
|
+
responses:
|
|
33528
|
+
'201':
|
|
33529
|
+
content:
|
|
33530
|
+
application/json:
|
|
33531
|
+
schema:
|
|
33532
|
+
$ref: '#/components/schemas/WebForm'
|
|
33533
|
+
description: ''
|
|
33534
|
+
/api/crm/web-forms/{slug}/:
|
|
33535
|
+
get:
|
|
33536
|
+
operationId: crm_web_forms_retrieve
|
|
33537
|
+
description: '**Required permission:** `Ibl.CRM/WebForms/read`.'
|
|
33538
|
+
summary: Retrieve a web form
|
|
33539
|
+
parameters:
|
|
33540
|
+
- in: query
|
|
33541
|
+
name: app
|
|
33542
|
+
schema:
|
|
33543
|
+
type: string
|
|
33544
|
+
default: ''
|
|
33545
|
+
maxLength: 64
|
|
33546
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33547
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33548
|
+
- in: path
|
|
33549
|
+
name: slug
|
|
33550
|
+
schema:
|
|
33551
|
+
type: string
|
|
33552
|
+
description: URL segment. Unique per platform and app.
|
|
33553
|
+
required: true
|
|
33554
|
+
tags:
|
|
33555
|
+
- crm
|
|
33556
|
+
security:
|
|
33557
|
+
- PlatformApiKeyAuthentication: []
|
|
33558
|
+
responses:
|
|
33559
|
+
'200':
|
|
33560
|
+
content:
|
|
33561
|
+
application/json:
|
|
33562
|
+
schema:
|
|
33563
|
+
$ref: '#/components/schemas/WebForm'
|
|
33564
|
+
description: ''
|
|
33565
|
+
put:
|
|
33566
|
+
operationId: crm_web_forms_update
|
|
33567
|
+
description: '**Required permission:** `Ibl.CRM/WebForms/write`; a new `routing.lead_source_code`
|
|
33568
|
+
also needs `Ibl.CRM/Pipelines/action`.'
|
|
33569
|
+
summary: Replace a web form
|
|
33570
|
+
parameters:
|
|
33571
|
+
- in: query
|
|
33572
|
+
name: app
|
|
33573
|
+
schema:
|
|
33574
|
+
type: string
|
|
33575
|
+
default: ''
|
|
33576
|
+
maxLength: 64
|
|
33577
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33578
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33579
|
+
- in: path
|
|
33580
|
+
name: slug
|
|
33581
|
+
schema:
|
|
33582
|
+
type: string
|
|
33583
|
+
description: URL segment. Unique per platform and app.
|
|
33584
|
+
required: true
|
|
33585
|
+
tags:
|
|
33586
|
+
- crm
|
|
33587
|
+
requestBody:
|
|
33588
|
+
content:
|
|
33589
|
+
application/json:
|
|
33590
|
+
schema:
|
|
33591
|
+
$ref: '#/components/schemas/WebForm'
|
|
33592
|
+
application/scim+json:
|
|
33593
|
+
schema:
|
|
33594
|
+
$ref: '#/components/schemas/WebForm'
|
|
33595
|
+
application/x-www-form-urlencoded:
|
|
33596
|
+
schema:
|
|
33597
|
+
$ref: '#/components/schemas/WebForm'
|
|
33598
|
+
multipart/form-data:
|
|
33599
|
+
schema:
|
|
33600
|
+
$ref: '#/components/schemas/WebForm'
|
|
33601
|
+
'*/*':
|
|
33602
|
+
schema:
|
|
33603
|
+
$ref: '#/components/schemas/WebForm'
|
|
33604
|
+
required: true
|
|
33605
|
+
security:
|
|
33606
|
+
- PlatformApiKeyAuthentication: []
|
|
33607
|
+
responses:
|
|
33608
|
+
'200':
|
|
33609
|
+
content:
|
|
33610
|
+
application/json:
|
|
33611
|
+
schema:
|
|
33612
|
+
$ref: '#/components/schemas/WebForm'
|
|
33613
|
+
description: ''
|
|
33614
|
+
patch:
|
|
33615
|
+
operationId: crm_web_forms_partial_update
|
|
33616
|
+
description: |-
|
|
33617
|
+
`fields`, `routing` and `metadata` are replaced whole when sent. Publishing rules apply to the form as saved.
|
|
33618
|
+
|
|
33619
|
+
**Required permission:** `Ibl.CRM/WebForms/write`; a new `routing.lead_source_code` also needs `Ibl.CRM/Pipelines/action`.
|
|
33620
|
+
summary: Update a web form
|
|
33621
|
+
parameters:
|
|
33622
|
+
- in: query
|
|
33623
|
+
name: app
|
|
33624
|
+
schema:
|
|
33625
|
+
type: string
|
|
33626
|
+
default: ''
|
|
33627
|
+
maxLength: 64
|
|
33628
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33629
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33630
|
+
- in: path
|
|
33631
|
+
name: slug
|
|
33632
|
+
schema:
|
|
33633
|
+
type: string
|
|
33634
|
+
description: URL segment. Unique per platform and app.
|
|
33635
|
+
required: true
|
|
33636
|
+
tags:
|
|
33637
|
+
- crm
|
|
33638
|
+
requestBody:
|
|
33639
|
+
content:
|
|
33640
|
+
application/json:
|
|
33641
|
+
schema:
|
|
33642
|
+
$ref: '#/components/schemas/PatchedWebForm'
|
|
33643
|
+
application/scim+json:
|
|
33644
|
+
schema:
|
|
33645
|
+
$ref: '#/components/schemas/PatchedWebForm'
|
|
33646
|
+
application/x-www-form-urlencoded:
|
|
33647
|
+
schema:
|
|
33648
|
+
$ref: '#/components/schemas/PatchedWebForm'
|
|
33649
|
+
multipart/form-data:
|
|
33650
|
+
schema:
|
|
33651
|
+
$ref: '#/components/schemas/PatchedWebForm'
|
|
33652
|
+
'*/*':
|
|
33653
|
+
schema:
|
|
33654
|
+
$ref: '#/components/schemas/PatchedWebForm'
|
|
33655
|
+
security:
|
|
33656
|
+
- PlatformApiKeyAuthentication: []
|
|
33657
|
+
responses:
|
|
33658
|
+
'200':
|
|
33659
|
+
content:
|
|
33660
|
+
application/json:
|
|
33661
|
+
schema:
|
|
33662
|
+
$ref: '#/components/schemas/WebForm'
|
|
33663
|
+
description: ''
|
|
33664
|
+
delete:
|
|
33665
|
+
operationId: crm_web_forms_destroy
|
|
33666
|
+
description: |-
|
|
33667
|
+
Deletes the form and its submissions log; the persons, deals and notes it filed stay.
|
|
33668
|
+
|
|
33669
|
+
**Required permission:** `Ibl.CRM/WebForms/delete`.
|
|
33670
|
+
summary: Delete a web form
|
|
33671
|
+
parameters:
|
|
33672
|
+
- in: query
|
|
33673
|
+
name: app
|
|
33674
|
+
schema:
|
|
33675
|
+
type: string
|
|
33676
|
+
default: ''
|
|
33677
|
+
maxLength: 64
|
|
33678
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33679
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33680
|
+
- in: path
|
|
33681
|
+
name: slug
|
|
33682
|
+
schema:
|
|
33683
|
+
type: string
|
|
33684
|
+
description: URL segment. Unique per platform and app.
|
|
33685
|
+
required: true
|
|
33686
|
+
tags:
|
|
33687
|
+
- crm
|
|
33688
|
+
security:
|
|
33689
|
+
- PlatformApiKeyAuthentication: []
|
|
33690
|
+
responses:
|
|
33691
|
+
'204':
|
|
33692
|
+
description: No response body
|
|
33693
|
+
/api/crm/web-forms/{slug}/submissions/:
|
|
33694
|
+
get:
|
|
33695
|
+
operationId: crm_web_forms_submissions_list
|
|
33696
|
+
description: |-
|
|
33697
|
+
Newest first, paginated; `date_filter` (or `start_date` + `end_date`) narrows to submissions in a window.
|
|
33698
|
+
|
|
33699
|
+
**Required permission:** `Ibl.CRM/WebForms/list`.
|
|
33700
|
+
summary: A web form's submissions
|
|
33701
|
+
parameters:
|
|
33702
|
+
- in: query
|
|
33703
|
+
name: app
|
|
33704
|
+
schema:
|
|
33705
|
+
type: string
|
|
33706
|
+
default: ''
|
|
33707
|
+
maxLength: 64
|
|
33708
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
33709
|
+
description: 'The app whose records these are: blank for the CRM, e.g. `recruit`.'
|
|
33710
|
+
- name: date_filter
|
|
33711
|
+
in: query
|
|
33712
|
+
required: false
|
|
33713
|
+
description: Only rows created in this window. `custom` needs `start_date`
|
|
33714
|
+
and `end_date`.
|
|
33715
|
+
schema:
|
|
33716
|
+
type: string
|
|
33717
|
+
enum:
|
|
33718
|
+
- today
|
|
33719
|
+
- 7d
|
|
33720
|
+
- 30d
|
|
33721
|
+
- 90d
|
|
33722
|
+
- all_time
|
|
33723
|
+
- custom
|
|
33724
|
+
- name: end_date
|
|
33725
|
+
in: query
|
|
33726
|
+
required: false
|
|
33727
|
+
description: Last day of a custom window, inclusive (YYYY-MM-DD).
|
|
33728
|
+
schema:
|
|
33729
|
+
type: string
|
|
33730
|
+
format: date
|
|
33731
|
+
- name: page
|
|
33732
|
+
required: false
|
|
33733
|
+
in: query
|
|
33734
|
+
description: A page number within the paginated result set.
|
|
33735
|
+
schema:
|
|
33736
|
+
type: integer
|
|
33737
|
+
- name: page_size
|
|
33738
|
+
required: false
|
|
33739
|
+
in: query
|
|
33740
|
+
description: Number of results to return per page.
|
|
33741
|
+
schema:
|
|
33742
|
+
type: integer
|
|
33743
|
+
- in: path
|
|
33744
|
+
name: slug
|
|
33745
|
+
schema:
|
|
33746
|
+
type: string
|
|
33747
|
+
description: URL segment. Unique per platform and app.
|
|
33748
|
+
required: true
|
|
33749
|
+
- name: start_date
|
|
33750
|
+
in: query
|
|
33751
|
+
required: false
|
|
33752
|
+
description: First day of a custom window (YYYY-MM-DD).
|
|
33753
|
+
schema:
|
|
33754
|
+
type: string
|
|
33755
|
+
format: date
|
|
33756
|
+
tags:
|
|
33757
|
+
- crm
|
|
33758
|
+
security:
|
|
33759
|
+
- PlatformApiKeyAuthentication: []
|
|
33760
|
+
responses:
|
|
33761
|
+
'200':
|
|
33762
|
+
content:
|
|
33763
|
+
application/json:
|
|
33764
|
+
schema:
|
|
33765
|
+
$ref: '#/components/schemas/PaginatedWebFormSubmissionList'
|
|
33766
|
+
description: ''
|
|
33767
|
+
'403':
|
|
33768
|
+
description: Missing `Ibl.CRM/WebForms/list`.
|
|
33769
|
+
'404':
|
|
33770
|
+
description: Web form not found.
|
|
32495
33771
|
/api/custom-domains/:
|
|
32496
33772
|
get:
|
|
32497
33773
|
operationId: custom_domains_retrieve
|
|
@@ -44750,6 +46026,50 @@ paths:
|
|
|
44750
46026
|
schema:
|
|
44751
46027
|
$ref: '#/components/schemas/GroupList'
|
|
44752
46028
|
description: ''
|
|
46029
|
+
/v1/courses/metadata:
|
|
46030
|
+
get:
|
|
46031
|
+
operationId: v1_courses_metadata_retrieve
|
|
46032
|
+
description: |-
|
|
46033
|
+
The course's metadata in the shape of the edX plugin's `api/ibl/v1/course_metadata` response: Studio's course details, the DM's public course metadata, `course_outline` (sections down to units), `course_price`, `certificate_available` and the display fields. Served from what the DM stores, as of the course's last Studio save and course info sync.
|
|
46034
|
+
|
|
46035
|
+
Anonymous callers get courses whose catalog visibility is public. Other callers are scoped to their token's platform; a course hidden from the catalog needs a platform admin or staff member. Service accounts name the platform in `iblai-org`. A course that is missing, on another platform or not visible to the caller is 404.
|
|
46036
|
+
summary: Get course metadata
|
|
46037
|
+
parameters:
|
|
46038
|
+
- in: query
|
|
46039
|
+
name: course_id
|
|
46040
|
+
schema:
|
|
46041
|
+
type: string
|
|
46042
|
+
description: The course id, URL-encoded. Required unless course_key is given.
|
|
46043
|
+
- in: query
|
|
46044
|
+
name: course_key
|
|
46045
|
+
schema:
|
|
46046
|
+
type: string
|
|
46047
|
+
description: 'Alias of course_id: the parameter the edX plugin endpoint took.'
|
|
46048
|
+
- in: header
|
|
46049
|
+
name: iblai-org
|
|
46050
|
+
schema:
|
|
46051
|
+
type: string
|
|
46052
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
46053
|
+
scoped to their token's platform and get 403 if this names another.
|
|
46054
|
+
tags:
|
|
46055
|
+
- v1-courses
|
|
46056
|
+
security:
|
|
46057
|
+
- PlatformApiKeyAuthentication: []
|
|
46058
|
+
- {}
|
|
46059
|
+
responses:
|
|
46060
|
+
'200':
|
|
46061
|
+
content:
|
|
46062
|
+
application/json:
|
|
46063
|
+
schema:
|
|
46064
|
+
type: object
|
|
46065
|
+
additionalProperties: {}
|
|
46066
|
+
description: ''
|
|
46067
|
+
'400':
|
|
46068
|
+
description: course_id missing, or a service account omitted iblai-org.
|
|
46069
|
+
'403':
|
|
46070
|
+
description: iblai-org names another platform.
|
|
46071
|
+
'404':
|
|
46072
|
+
description: Course or platform not found.
|
|
44753
46073
|
/v1/lms/{edx_path}:
|
|
44754
46074
|
get:
|
|
44755
46075
|
operationId: v1_lms_retrieve
|
|
@@ -45444,6 +46764,10 @@ components:
|
|
|
45444
46764
|
readOnly: true
|
|
45445
46765
|
description: Platform this Activity belongs to. Set automatically from your
|
|
45446
46766
|
credentials; you cannot pass another Platform's id.
|
|
46767
|
+
app:
|
|
46768
|
+
type: string
|
|
46769
|
+
readOnly: true
|
|
46770
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
45447
46771
|
title:
|
|
45448
46772
|
type: string
|
|
45449
46773
|
description: Short summary (e.g. 'Discovery call', 'Stage changed').
|
|
@@ -45536,6 +46860,7 @@ components:
|
|
|
45536
46860
|
readOnly: true
|
|
45537
46861
|
description: Last-modified timestamp.
|
|
45538
46862
|
required:
|
|
46863
|
+
- app
|
|
45539
46864
|
- created_at
|
|
45540
46865
|
- done_at
|
|
45541
46866
|
- id
|
|
@@ -48607,6 +49932,10 @@ components:
|
|
|
48607
49932
|
readOnly: true
|
|
48608
49933
|
description: Platform this Deal belongs to. Set automatically from your
|
|
48609
49934
|
credentials; you cannot pass another Platform's id.
|
|
49935
|
+
app:
|
|
49936
|
+
type: string
|
|
49937
|
+
readOnly: true
|
|
49938
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
48610
49939
|
title:
|
|
48611
49940
|
type: string
|
|
48612
49941
|
description: Short display name (e.g. 'Acme renewal — 2026').
|
|
@@ -48723,6 +50052,7 @@ components:
|
|
|
48723
50052
|
readOnly: true
|
|
48724
50053
|
description: Last-modified timestamp.
|
|
48725
50054
|
required:
|
|
50055
|
+
- app
|
|
48726
50056
|
- closed_at
|
|
48727
50057
|
- created_at
|
|
48728
50058
|
- id
|
|
@@ -50633,6 +51963,10 @@ components:
|
|
|
50633
51963
|
readOnly: true
|
|
50634
51964
|
description: Platform the LeadSource belongs to. Set automatically from
|
|
50635
51965
|
your credentials; you cannot pass another Platform's id.
|
|
51966
|
+
app:
|
|
51967
|
+
type: string
|
|
51968
|
+
readOnly: true
|
|
51969
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
50636
51970
|
name:
|
|
50637
51971
|
type: string
|
|
50638
51972
|
description: Display name shown to sales reps when categorizing a Deal.
|
|
@@ -50656,6 +51990,7 @@ components:
|
|
|
50656
51990
|
readOnly: true
|
|
50657
51991
|
description: Last-modified timestamp.
|
|
50658
51992
|
required:
|
|
51993
|
+
- app
|
|
50659
51994
|
- code
|
|
50660
51995
|
- created_at
|
|
50661
51996
|
- id
|
|
@@ -51377,6 +52712,36 @@ components:
|
|
|
51377
52712
|
* `document` - Document
|
|
51378
52713
|
* `audio` - Audio
|
|
51379
52714
|
* `other` - Other
|
|
52715
|
+
Member:
|
|
52716
|
+
type: object
|
|
52717
|
+
description: A platform member as an owner picker shows them.
|
|
52718
|
+
properties:
|
|
52719
|
+
id:
|
|
52720
|
+
type: integer
|
|
52721
|
+
readOnly: true
|
|
52722
|
+
description: The user's id — what `owner` takes.
|
|
52723
|
+
username:
|
|
52724
|
+
type: string
|
|
52725
|
+
readOnly: true
|
|
52726
|
+
nullable: true
|
|
52727
|
+
name:
|
|
52728
|
+
type: string
|
|
52729
|
+
readOnly: true
|
|
52730
|
+
email:
|
|
52731
|
+
type: string
|
|
52732
|
+
format: email
|
|
52733
|
+
nullable: true
|
|
52734
|
+
readOnly: true
|
|
52735
|
+
description: Null unless you may list the Platform's users.
|
|
52736
|
+
is_admin:
|
|
52737
|
+
type: boolean
|
|
52738
|
+
readOnly: true
|
|
52739
|
+
required:
|
|
52740
|
+
- email
|
|
52741
|
+
- id
|
|
52742
|
+
- is_admin
|
|
52743
|
+
- name
|
|
52744
|
+
- username
|
|
51380
52745
|
MentorDetail:
|
|
51381
52746
|
type: object
|
|
51382
52747
|
properties:
|
|
@@ -52530,6 +53895,10 @@ components:
|
|
|
52530
53895
|
readOnly: true
|
|
52531
53896
|
description: Platform the Organization belongs to. Set server-side from
|
|
52532
53897
|
the auth token.
|
|
53898
|
+
app:
|
|
53899
|
+
type: string
|
|
53900
|
+
readOnly: true
|
|
53901
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
52533
53902
|
name:
|
|
52534
53903
|
type: string
|
|
52535
53904
|
description: Display name. Unique per platform (case-sensitive).
|
|
@@ -52571,6 +53940,7 @@ components:
|
|
|
52571
53940
|
readOnly: true
|
|
52572
53941
|
description: Last-modified timestamp.
|
|
52573
53942
|
required:
|
|
53943
|
+
- app
|
|
52574
53944
|
- created_at
|
|
52575
53945
|
- id
|
|
52576
53946
|
- name
|
|
@@ -52684,6 +54054,9 @@ components:
|
|
|
52684
54054
|
type: object
|
|
52685
54055
|
description: Sections the caller may list; `period_*` only when a window resolved.
|
|
52686
54056
|
properties:
|
|
54057
|
+
app:
|
|
54058
|
+
type: string
|
|
54059
|
+
description: 'The app these figures cover: blank for the CRM, e.g. `recruit`.'
|
|
52687
54060
|
persons:
|
|
52688
54061
|
$ref: '#/components/schemas/OverviewCount'
|
|
52689
54062
|
organizations:
|
|
@@ -52716,6 +54089,8 @@ components:
|
|
|
52716
54089
|
type: integer
|
|
52717
54090
|
description: Marked done in the window; the automatic stage-change notes
|
|
52718
54091
|
are not counted.
|
|
54092
|
+
required:
|
|
54093
|
+
- app
|
|
52719
54094
|
OverviewActivities:
|
|
52720
54095
|
type: object
|
|
52721
54096
|
properties:
|
|
@@ -53263,6 +54638,29 @@ components:
|
|
|
53263
54638
|
type: array
|
|
53264
54639
|
items:
|
|
53265
54640
|
$ref: '#/components/schemas/LeadSource'
|
|
54641
|
+
PaginatedMemberList:
|
|
54642
|
+
type: object
|
|
54643
|
+
required:
|
|
54644
|
+
- count
|
|
54645
|
+
- results
|
|
54646
|
+
properties:
|
|
54647
|
+
count:
|
|
54648
|
+
type: integer
|
|
54649
|
+
example: 123
|
|
54650
|
+
next:
|
|
54651
|
+
type: string
|
|
54652
|
+
nullable: true
|
|
54653
|
+
format: uri
|
|
54654
|
+
example: http://api.example.org/accounts/?page=4
|
|
54655
|
+
previous:
|
|
54656
|
+
type: string
|
|
54657
|
+
nullable: true
|
|
54658
|
+
format: uri
|
|
54659
|
+
example: http://api.example.org/accounts/?page=2
|
|
54660
|
+
results:
|
|
54661
|
+
type: array
|
|
54662
|
+
items:
|
|
54663
|
+
$ref: '#/components/schemas/Member'
|
|
53266
54664
|
PaginatedOrganizationList:
|
|
53267
54665
|
type: object
|
|
53268
54666
|
required:
|
|
@@ -54041,6 +55439,52 @@ components:
|
|
|
54041
55439
|
type: array
|
|
54042
55440
|
items:
|
|
54043
55441
|
$ref: '#/components/schemas/WatcherRead'
|
|
55442
|
+
PaginatedWebFormList:
|
|
55443
|
+
type: object
|
|
55444
|
+
required:
|
|
55445
|
+
- count
|
|
55446
|
+
- results
|
|
55447
|
+
properties:
|
|
55448
|
+
count:
|
|
55449
|
+
type: integer
|
|
55450
|
+
example: 123
|
|
55451
|
+
next:
|
|
55452
|
+
type: string
|
|
55453
|
+
nullable: true
|
|
55454
|
+
format: uri
|
|
55455
|
+
example: http://api.example.org/accounts/?page=4
|
|
55456
|
+
previous:
|
|
55457
|
+
type: string
|
|
55458
|
+
nullable: true
|
|
55459
|
+
format: uri
|
|
55460
|
+
example: http://api.example.org/accounts/?page=2
|
|
55461
|
+
results:
|
|
55462
|
+
type: array
|
|
55463
|
+
items:
|
|
55464
|
+
$ref: '#/components/schemas/WebForm'
|
|
55465
|
+
PaginatedWebFormSubmissionList:
|
|
55466
|
+
type: object
|
|
55467
|
+
required:
|
|
55468
|
+
- count
|
|
55469
|
+
- results
|
|
55470
|
+
properties:
|
|
55471
|
+
count:
|
|
55472
|
+
type: integer
|
|
55473
|
+
example: 123
|
|
55474
|
+
next:
|
|
55475
|
+
type: string
|
|
55476
|
+
nullable: true
|
|
55477
|
+
format: uri
|
|
55478
|
+
example: http://api.example.org/accounts/?page=4
|
|
55479
|
+
previous:
|
|
55480
|
+
type: string
|
|
55481
|
+
nullable: true
|
|
55482
|
+
format: uri
|
|
55483
|
+
example: http://api.example.org/accounts/?page=2
|
|
55484
|
+
results:
|
|
55485
|
+
type: array
|
|
55486
|
+
items:
|
|
55487
|
+
$ref: '#/components/schemas/WebFormSubmission'
|
|
54044
55488
|
Pagination:
|
|
54045
55489
|
type: object
|
|
54046
55490
|
description: Serializer for pagination metadata.
|
|
@@ -54084,6 +55528,10 @@ components:
|
|
|
54084
55528
|
readOnly: true
|
|
54085
55529
|
description: Platform this Activity belongs to. Set automatically from your
|
|
54086
55530
|
credentials; you cannot pass another Platform's id.
|
|
55531
|
+
app:
|
|
55532
|
+
type: string
|
|
55533
|
+
readOnly: true
|
|
55534
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
54087
55535
|
title:
|
|
54088
55536
|
type: string
|
|
54089
55537
|
description: Short summary (e.g. 'Discovery call', 'Stage changed').
|
|
@@ -54248,6 +55696,10 @@ components:
|
|
|
54248
55696
|
readOnly: true
|
|
54249
55697
|
description: Platform this Deal belongs to. Set automatically from your
|
|
54250
55698
|
credentials; you cannot pass another Platform's id.
|
|
55699
|
+
app:
|
|
55700
|
+
type: string
|
|
55701
|
+
readOnly: true
|
|
55702
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
54251
55703
|
title:
|
|
54252
55704
|
type: string
|
|
54253
55705
|
description: Short display name (e.g. 'Acme renewal — 2026').
|
|
@@ -54446,6 +55898,10 @@ components:
|
|
|
54446
55898
|
readOnly: true
|
|
54447
55899
|
description: Platform the LeadSource belongs to. Set automatically from
|
|
54448
55900
|
your credentials; you cannot pass another Platform's id.
|
|
55901
|
+
app:
|
|
55902
|
+
type: string
|
|
55903
|
+
readOnly: true
|
|
55904
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
54449
55905
|
name:
|
|
54450
55906
|
type: string
|
|
54451
55907
|
description: Display name shown to sales reps when categorizing a Deal.
|
|
@@ -55105,6 +56561,10 @@ components:
|
|
|
55105
56561
|
readOnly: true
|
|
55106
56562
|
description: Platform the Organization belongs to. Set server-side from
|
|
55107
56563
|
the auth token.
|
|
56564
|
+
app:
|
|
56565
|
+
type: string
|
|
56566
|
+
readOnly: true
|
|
56567
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
55108
56568
|
name:
|
|
55109
56569
|
type: string
|
|
55110
56570
|
description: Display name. Unique per platform (case-sensitive).
|
|
@@ -55164,6 +56624,10 @@ components:
|
|
|
55164
56624
|
readOnly: true
|
|
55165
56625
|
description: Platform the person belongs to. Set automatically from your
|
|
55166
56626
|
credentials; you cannot pass another Platform's id.
|
|
56627
|
+
app:
|
|
56628
|
+
type: string
|
|
56629
|
+
readOnly: true
|
|
56630
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
55167
56631
|
name:
|
|
55168
56632
|
type: string
|
|
55169
56633
|
description: Display name (e.g. 'Alice Chen').
|
|
@@ -55271,6 +56735,10 @@ components:
|
|
|
55271
56735
|
readOnly: true
|
|
55272
56736
|
description: Platform this Pipeline belongs to. Set automatically from your
|
|
55273
56737
|
credentials; you cannot pass another Platform's id.
|
|
56738
|
+
app:
|
|
56739
|
+
type: string
|
|
56740
|
+
readOnly: true
|
|
56741
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
55274
56742
|
name:
|
|
55275
56743
|
type: string
|
|
55276
56744
|
description: Display name (e.g. 'B2B Sales', 'Renewals').
|
|
@@ -55764,6 +57232,10 @@ components:
|
|
|
55764
57232
|
type: integer
|
|
55765
57233
|
readOnly: true
|
|
55766
57234
|
description: Tenant this view belongs to.
|
|
57235
|
+
app:
|
|
57236
|
+
type: string
|
|
57237
|
+
readOnly: true
|
|
57238
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
55767
57239
|
object_type:
|
|
55768
57240
|
allOf:
|
|
55769
57241
|
- $ref: '#/components/schemas/ObjectTypeEnum'
|
|
@@ -55840,6 +57312,10 @@ components:
|
|
|
55840
57312
|
readOnly: true
|
|
55841
57313
|
description: Platform this Tag belongs to. Set automatically from your credentials;
|
|
55842
57314
|
you cannot pass another Platform's id.
|
|
57315
|
+
app:
|
|
57316
|
+
type: string
|
|
57317
|
+
readOnly: true
|
|
57318
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
55843
57319
|
name:
|
|
55844
57320
|
type: string
|
|
55845
57321
|
description: Display label shown on tag chips. Must be unique within your
|
|
@@ -55943,6 +57419,59 @@ components:
|
|
|
55943
57419
|
type: array
|
|
55944
57420
|
items:
|
|
55945
57421
|
$ref: '#/components/schemas/EventsEnum'
|
|
57422
|
+
PatchedWebForm:
|
|
57423
|
+
type: object
|
|
57424
|
+
properties:
|
|
57425
|
+
id:
|
|
57426
|
+
type: integer
|
|
57427
|
+
readOnly: true
|
|
57428
|
+
platform:
|
|
57429
|
+
type: integer
|
|
57430
|
+
readOnly: true
|
|
57431
|
+
description: Set from your credentials.
|
|
57432
|
+
app:
|
|
57433
|
+
type: string
|
|
57434
|
+
readOnly: true
|
|
57435
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
57436
|
+
slug:
|
|
57437
|
+
type: string
|
|
57438
|
+
description: URL segment, unique per Platform and app.
|
|
57439
|
+
maxLength: 64
|
|
57440
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
57441
|
+
name:
|
|
57442
|
+
type: string
|
|
57443
|
+
description: Shown to visitors; names the lead source and the note.
|
|
57444
|
+
maxLength: 255
|
|
57445
|
+
is_published:
|
|
57446
|
+
type: boolean
|
|
57447
|
+
description: Only published forms are served and take submissions. Publishing
|
|
57448
|
+
needs fields mapped to `person.primary_email` and to `person.name` or
|
|
57449
|
+
`person.first_name`.
|
|
57450
|
+
fields:
|
|
57451
|
+
type: array
|
|
57452
|
+
items:
|
|
57453
|
+
$ref: '#/components/schemas/WebFormField'
|
|
57454
|
+
description: Ordered form fields.
|
|
57455
|
+
routing:
|
|
57456
|
+
allOf:
|
|
57457
|
+
- $ref: '#/components/schemas/WebFormRouting'
|
|
57458
|
+
description: Where a submission lands; omitted keys take defaults.
|
|
57459
|
+
metadata:
|
|
57460
|
+
description: The app's page copy (an object, ≤ 64 KB), served on the public
|
|
57461
|
+
read.
|
|
57462
|
+
success_title:
|
|
57463
|
+
type: string
|
|
57464
|
+
maxLength: 255
|
|
57465
|
+
success_message:
|
|
57466
|
+
type: string
|
|
57467
|
+
created_at:
|
|
57468
|
+
type: string
|
|
57469
|
+
format: date-time
|
|
57470
|
+
readOnly: true
|
|
57471
|
+
updated_at:
|
|
57472
|
+
type: string
|
|
57473
|
+
format: date-time
|
|
57474
|
+
readOnly: true
|
|
55946
57475
|
Pathway:
|
|
55947
57476
|
type: object
|
|
55948
57477
|
properties:
|
|
@@ -56819,6 +58348,10 @@ components:
|
|
|
56819
58348
|
readOnly: true
|
|
56820
58349
|
description: Platform the person belongs to. Set automatically from your
|
|
56821
58350
|
credentials; you cannot pass another Platform's id.
|
|
58351
|
+
app:
|
|
58352
|
+
type: string
|
|
58353
|
+
readOnly: true
|
|
58354
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
56822
58355
|
name:
|
|
56823
58356
|
type: string
|
|
56824
58357
|
description: Display name (e.g. 'Alice Chen').
|
|
@@ -56916,6 +58449,7 @@ components:
|
|
|
56916
58449
|
description: Last-modified timestamp.
|
|
56917
58450
|
required:
|
|
56918
58451
|
- active
|
|
58452
|
+
- app
|
|
56919
58453
|
- created_at
|
|
56920
58454
|
- id
|
|
56921
58455
|
- name
|
|
@@ -57074,6 +58608,10 @@ components:
|
|
|
57074
58608
|
readOnly: true
|
|
57075
58609
|
description: Platform this Pipeline belongs to. Set automatically from your
|
|
57076
58610
|
credentials; you cannot pass another Platform's id.
|
|
58611
|
+
app:
|
|
58612
|
+
type: string
|
|
58613
|
+
readOnly: true
|
|
58614
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
57077
58615
|
name:
|
|
57078
58616
|
type: string
|
|
57079
58617
|
description: Display name (e.g. 'B2B Sales', 'Renewals').
|
|
@@ -57111,6 +58649,7 @@ components:
|
|
|
57111
58649
|
format: date-time
|
|
57112
58650
|
readOnly: true
|
|
57113
58651
|
required:
|
|
58652
|
+
- app
|
|
57114
58653
|
- code
|
|
57115
58654
|
- created_at
|
|
57116
58655
|
- id
|
|
@@ -61951,6 +63490,10 @@ components:
|
|
|
61951
63490
|
type: integer
|
|
61952
63491
|
readOnly: true
|
|
61953
63492
|
description: Tenant this view belongs to.
|
|
63493
|
+
app:
|
|
63494
|
+
type: string
|
|
63495
|
+
readOnly: true
|
|
63496
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
61954
63497
|
object_type:
|
|
61955
63498
|
allOf:
|
|
61956
63499
|
- $ref: '#/components/schemas/ObjectTypeEnum'
|
|
@@ -62003,6 +63546,7 @@ components:
|
|
|
62003
63546
|
format: date-time
|
|
62004
63547
|
readOnly: true
|
|
62005
63548
|
required:
|
|
63549
|
+
- app
|
|
62006
63550
|
- created_at
|
|
62007
63551
|
- id
|
|
62008
63552
|
- name
|
|
@@ -62023,6 +63567,10 @@ components:
|
|
|
62023
63567
|
id:
|
|
62024
63568
|
type: integer
|
|
62025
63569
|
readOnly: true
|
|
63570
|
+
app:
|
|
63571
|
+
type: string
|
|
63572
|
+
readOnly: true
|
|
63573
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
62026
63574
|
title:
|
|
62027
63575
|
type: string
|
|
62028
63576
|
description: Short display name (e.g. 'Acme renewal — 2026').
|
|
@@ -62063,6 +63611,7 @@ components:
|
|
|
62063
63611
|
type: integer
|
|
62064
63612
|
description: Current stage. Must belong to `pipeline`.
|
|
62065
63613
|
required:
|
|
63614
|
+
- app
|
|
62066
63615
|
- id
|
|
62067
63616
|
- person
|
|
62068
63617
|
- pipeline
|
|
@@ -62076,11 +63625,16 @@ components:
|
|
|
62076
63625
|
format: uuid
|
|
62077
63626
|
readOnly: true
|
|
62078
63627
|
description: Opaque UUID — used in API URLs and external references.
|
|
63628
|
+
app:
|
|
63629
|
+
type: string
|
|
63630
|
+
readOnly: true
|
|
63631
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
62079
63632
|
name:
|
|
62080
63633
|
type: string
|
|
62081
|
-
description: Display name. Unique within the platform.
|
|
63634
|
+
description: Display name. Unique within the platform's app.
|
|
62082
63635
|
maxLength: 255
|
|
62083
63636
|
required:
|
|
63637
|
+
- app
|
|
62084
63638
|
- id
|
|
62085
63639
|
- name
|
|
62086
63640
|
SearchPerson:
|
|
@@ -62091,6 +63645,10 @@ components:
|
|
|
62091
63645
|
format: uuid
|
|
62092
63646
|
readOnly: true
|
|
62093
63647
|
description: Opaque UUID — used in API URLs and external references.
|
|
63648
|
+
app:
|
|
63649
|
+
type: string
|
|
63650
|
+
readOnly: true
|
|
63651
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
62094
63652
|
name:
|
|
62095
63653
|
type: string
|
|
62096
63654
|
description: Full display name.
|
|
@@ -62122,6 +63680,7 @@ components:
|
|
|
62122
63680
|
* `customer` - Customer
|
|
62123
63681
|
* `churned` - Churned
|
|
62124
63682
|
required:
|
|
63683
|
+
- app
|
|
62125
63684
|
- id
|
|
62126
63685
|
- name
|
|
62127
63686
|
SearchResponse:
|
|
@@ -62828,6 +64387,10 @@ components:
|
|
|
62828
64387
|
readOnly: true
|
|
62829
64388
|
description: Platform this Tag belongs to. Set automatically from your credentials;
|
|
62830
64389
|
you cannot pass another Platform's id.
|
|
64390
|
+
app:
|
|
64391
|
+
type: string
|
|
64392
|
+
readOnly: true
|
|
64393
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
62831
64394
|
name:
|
|
62832
64395
|
type: string
|
|
62833
64396
|
description: Display label shown on tag chips. Must be unique within your
|
|
@@ -62852,6 +64415,7 @@ components:
|
|
|
62852
64415
|
readOnly: true
|
|
62853
64416
|
description: Last-modified timestamp.
|
|
62854
64417
|
required:
|
|
64418
|
+
- app
|
|
62855
64419
|
- created_at
|
|
62856
64420
|
- id
|
|
62857
64421
|
- name
|
|
@@ -64611,6 +66175,26 @@ components:
|
|
|
64611
66175
|
* `release` - Release Reserved Credits
|
|
64612
66176
|
* `rollover` - Rollover Credits
|
|
64613
66177
|
* `refund` - Refund Credits
|
|
66178
|
+
Type240Enum:
|
|
66179
|
+
enum:
|
|
66180
|
+
- text
|
|
66181
|
+
- email
|
|
66182
|
+
- tel
|
|
66183
|
+
- number
|
|
66184
|
+
- date
|
|
66185
|
+
- select
|
|
66186
|
+
- textarea
|
|
66187
|
+
- checkbox
|
|
66188
|
+
type: string
|
|
66189
|
+
description: |-
|
|
66190
|
+
* `text` - text
|
|
66191
|
+
* `email` - email
|
|
66192
|
+
* `tel` - tel
|
|
66193
|
+
* `number` - number
|
|
66194
|
+
* `date` - date
|
|
66195
|
+
* `select` - select
|
|
66196
|
+
* `textarea` - textarea
|
|
66197
|
+
* `checkbox` - checkbox
|
|
64614
66198
|
Type6d9Enum:
|
|
64615
66199
|
enum:
|
|
64616
66200
|
- ACTIVITY_COURSE_MILESTONE
|
|
@@ -66486,6 +68070,307 @@ components:
|
|
|
66486
68070
|
$ref: '#/components/schemas/EventsEnum'
|
|
66487
68071
|
required:
|
|
66488
68072
|
- watcher_id
|
|
68073
|
+
WebForm:
|
|
68074
|
+
type: object
|
|
68075
|
+
properties:
|
|
68076
|
+
id:
|
|
68077
|
+
type: integer
|
|
68078
|
+
readOnly: true
|
|
68079
|
+
platform:
|
|
68080
|
+
type: integer
|
|
68081
|
+
readOnly: true
|
|
68082
|
+
description: Set from your credentials.
|
|
68083
|
+
app:
|
|
68084
|
+
type: string
|
|
68085
|
+
readOnly: true
|
|
68086
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
68087
|
+
slug:
|
|
68088
|
+
type: string
|
|
68089
|
+
description: URL segment, unique per Platform and app.
|
|
68090
|
+
maxLength: 64
|
|
68091
|
+
pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
|
|
68092
|
+
name:
|
|
68093
|
+
type: string
|
|
68094
|
+
description: Shown to visitors; names the lead source and the note.
|
|
68095
|
+
maxLength: 255
|
|
68096
|
+
is_published:
|
|
68097
|
+
type: boolean
|
|
68098
|
+
description: Only published forms are served and take submissions. Publishing
|
|
68099
|
+
needs fields mapped to `person.primary_email` and to `person.name` or
|
|
68100
|
+
`person.first_name`.
|
|
68101
|
+
fields:
|
|
68102
|
+
type: array
|
|
68103
|
+
items:
|
|
68104
|
+
$ref: '#/components/schemas/WebFormField'
|
|
68105
|
+
description: Ordered form fields.
|
|
68106
|
+
routing:
|
|
68107
|
+
allOf:
|
|
68108
|
+
- $ref: '#/components/schemas/WebFormRouting'
|
|
68109
|
+
description: Where a submission lands; omitted keys take defaults.
|
|
68110
|
+
metadata:
|
|
68111
|
+
description: The app's page copy (an object, ≤ 64 KB), served on the public
|
|
68112
|
+
read.
|
|
68113
|
+
success_title:
|
|
68114
|
+
type: string
|
|
68115
|
+
maxLength: 255
|
|
68116
|
+
success_message:
|
|
68117
|
+
type: string
|
|
68118
|
+
created_at:
|
|
68119
|
+
type: string
|
|
68120
|
+
format: date-time
|
|
68121
|
+
readOnly: true
|
|
68122
|
+
updated_at:
|
|
68123
|
+
type: string
|
|
68124
|
+
format: date-time
|
|
68125
|
+
readOnly: true
|
|
68126
|
+
required:
|
|
68127
|
+
- app
|
|
68128
|
+
- created_at
|
|
68129
|
+
- id
|
|
68130
|
+
- name
|
|
68131
|
+
- platform
|
|
68132
|
+
- slug
|
|
68133
|
+
- updated_at
|
|
68134
|
+
WebFormField:
|
|
68135
|
+
type: object
|
|
68136
|
+
properties:
|
|
68137
|
+
key:
|
|
68138
|
+
type: string
|
|
68139
|
+
description: Answer key, unique in the form (`^[a-z][a-z0-9_]{0,63}$`).
|
|
68140
|
+
pattern: ^[a-z][a-z0-9_]{0,63}$
|
|
68141
|
+
label:
|
|
68142
|
+
type: string
|
|
68143
|
+
maxLength: 200
|
|
68144
|
+
type:
|
|
68145
|
+
$ref: '#/components/schemas/Type240Enum'
|
|
68146
|
+
required:
|
|
68147
|
+
type: boolean
|
|
68148
|
+
default: false
|
|
68149
|
+
placeholder:
|
|
68150
|
+
type: string
|
|
68151
|
+
default: ''
|
|
68152
|
+
maxLength: 200
|
|
68153
|
+
help:
|
|
68154
|
+
type: string
|
|
68155
|
+
default: ''
|
|
68156
|
+
maxLength: 500
|
|
68157
|
+
options:
|
|
68158
|
+
type: array
|
|
68159
|
+
items:
|
|
68160
|
+
type: string
|
|
68161
|
+
maxLength: 200
|
|
68162
|
+
description: A `select`'s choices; empty for every other type.
|
|
68163
|
+
maxItems: 100
|
|
68164
|
+
maps_to:
|
|
68165
|
+
type: array
|
|
68166
|
+
items:
|
|
68167
|
+
type: string
|
|
68168
|
+
maxLength: 200
|
|
68169
|
+
description: 'Where the answer is written: `person.{name,first_name,last_name,primary_email,phone,job_title}`,
|
|
68170
|
+
`organization.name`, `deal.description`, `person.metadata.<key>`, `deal.metadata.<key>`.
|
|
68171
|
+
Empty keeps it on the submission and the note only.'
|
|
68172
|
+
maxItems: 5
|
|
68173
|
+
required:
|
|
68174
|
+
- key
|
|
68175
|
+
- label
|
|
68176
|
+
- type
|
|
68177
|
+
WebFormPublic:
|
|
68178
|
+
type: object
|
|
68179
|
+
description: 'What a visitor''s page needs, by allow-list: never routing or
|
|
68180
|
+
targets.'
|
|
68181
|
+
properties:
|
|
68182
|
+
app:
|
|
68183
|
+
type: string
|
|
68184
|
+
readOnly: true
|
|
68185
|
+
description: 'The app this record belongs to: blank for the CRM, e.g. `recruit`.'
|
|
68186
|
+
slug:
|
|
68187
|
+
type: string
|
|
68188
|
+
readOnly: true
|
|
68189
|
+
description: URL segment. Unique per platform and app.
|
|
68190
|
+
pattern: ^[-a-zA-Z0-9_]+$
|
|
68191
|
+
name:
|
|
68192
|
+
type: string
|
|
68193
|
+
readOnly: true
|
|
68194
|
+
description: Shown to visitors; names the lead source and note.
|
|
68195
|
+
metadata:
|
|
68196
|
+
readOnly: true
|
|
68197
|
+
description: The app's page copy. Opaque to the CRM and served publicly.
|
|
68198
|
+
fields:
|
|
68199
|
+
type: array
|
|
68200
|
+
items:
|
|
68201
|
+
$ref: '#/components/schemas/WebFormPublicField'
|
|
68202
|
+
readOnly: true
|
|
68203
|
+
success_title:
|
|
68204
|
+
type: string
|
|
68205
|
+
readOnly: true
|
|
68206
|
+
success_message:
|
|
68207
|
+
type: string
|
|
68208
|
+
readOnly: true
|
|
68209
|
+
required:
|
|
68210
|
+
- app
|
|
68211
|
+
- fields
|
|
68212
|
+
- metadata
|
|
68213
|
+
- name
|
|
68214
|
+
- slug
|
|
68215
|
+
- success_message
|
|
68216
|
+
- success_title
|
|
68217
|
+
WebFormPublicField:
|
|
68218
|
+
type: object
|
|
68219
|
+
properties:
|
|
68220
|
+
key:
|
|
68221
|
+
type: string
|
|
68222
|
+
label:
|
|
68223
|
+
type: string
|
|
68224
|
+
type:
|
|
68225
|
+
$ref: '#/components/schemas/Type240Enum'
|
|
68226
|
+
required:
|
|
68227
|
+
type: boolean
|
|
68228
|
+
placeholder:
|
|
68229
|
+
type: string
|
|
68230
|
+
help:
|
|
68231
|
+
type: string
|
|
68232
|
+
options:
|
|
68233
|
+
type: array
|
|
68234
|
+
items:
|
|
68235
|
+
type: string
|
|
68236
|
+
required:
|
|
68237
|
+
- help
|
|
68238
|
+
- key
|
|
68239
|
+
- label
|
|
68240
|
+
- options
|
|
68241
|
+
- placeholder
|
|
68242
|
+
- required
|
|
68243
|
+
- type
|
|
68244
|
+
WebFormRouting:
|
|
68245
|
+
type: object
|
|
68246
|
+
properties:
|
|
68247
|
+
create_deal:
|
|
68248
|
+
type: boolean
|
|
68249
|
+
default: false
|
|
68250
|
+
description: Open a deal for every submission.
|
|
68251
|
+
pipeline_code:
|
|
68252
|
+
type: string
|
|
68253
|
+
default: ''
|
|
68254
|
+
description: The deal's pipeline; blank or gone means the default pipeline.
|
|
68255
|
+
maxLength: 64
|
|
68256
|
+
pattern: ^[-a-zA-Z0-9_]+$
|
|
68257
|
+
stage_code:
|
|
68258
|
+
type: string
|
|
68259
|
+
default: ''
|
|
68260
|
+
description: An open stage of that pipeline; blank or gone means its first
|
|
68261
|
+
open stage.
|
|
68262
|
+
maxLength: 64
|
|
68263
|
+
pattern: ^[-a-zA-Z0-9_]+$
|
|
68264
|
+
lead_source_code:
|
|
68265
|
+
type: string
|
|
68266
|
+
default: ''
|
|
68267
|
+
description: The deal's lead source; a new code is created with the form,
|
|
68268
|
+
named after it.
|
|
68269
|
+
maxLength: 64
|
|
68270
|
+
pattern: ^[-a-zA-Z0-9_]+$
|
|
68271
|
+
tags:
|
|
68272
|
+
type: array
|
|
68273
|
+
items:
|
|
68274
|
+
type: string
|
|
68275
|
+
maxLength: 64
|
|
68276
|
+
description: Tag names for the person and the deal, created on first use.
|
|
68277
|
+
maxItems: 20
|
|
68278
|
+
owner:
|
|
68279
|
+
type: integer
|
|
68280
|
+
minimum: 1
|
|
68281
|
+
nullable: true
|
|
68282
|
+
description: Platform user who owns new persons, the deal and the note.
|
|
68283
|
+
lifecycle_stage:
|
|
68284
|
+
allOf:
|
|
68285
|
+
- $ref: '#/components/schemas/LifecycleStageEnum'
|
|
68286
|
+
default: lead
|
|
68287
|
+
description: |-
|
|
68288
|
+
For persons the form creates; an existing person keeps theirs.
|
|
68289
|
+
|
|
68290
|
+
* `lead` - Lead
|
|
68291
|
+
* `qualified` - Qualified
|
|
68292
|
+
* `opportunity` - Opportunity
|
|
68293
|
+
* `customer` - Customer
|
|
68294
|
+
* `churned` - Churned
|
|
68295
|
+
deal_title:
|
|
68296
|
+
type: string
|
|
68297
|
+
default: '{name} — {form}'
|
|
68298
|
+
description: '`{name}` (the person), `{form}` (the form''s name) and `{<key>}`
|
|
68299
|
+
for any deal metadata key.'
|
|
68300
|
+
maxLength: 255
|
|
68301
|
+
deal_metadata:
|
|
68302
|
+
type: object
|
|
68303
|
+
additionalProperties:
|
|
68304
|
+
type: string
|
|
68305
|
+
maxLength: 200
|
|
68306
|
+
description: Default deal metadata; mapped answers override it.
|
|
68307
|
+
WebFormSubmission:
|
|
68308
|
+
type: object
|
|
68309
|
+
properties:
|
|
68310
|
+
id:
|
|
68311
|
+
type: string
|
|
68312
|
+
format: uuid
|
|
68313
|
+
readOnly: true
|
|
68314
|
+
person:
|
|
68315
|
+
type: string
|
|
68316
|
+
format: uuid
|
|
68317
|
+
description: The person it landed in (may since be deleted).
|
|
68318
|
+
readOnly: true
|
|
68319
|
+
nullable: true
|
|
68320
|
+
deal:
|
|
68321
|
+
type: integer
|
|
68322
|
+
readOnly: true
|
|
68323
|
+
nullable: true
|
|
68324
|
+
description: The deal it opened, or null.
|
|
68325
|
+
answers:
|
|
68326
|
+
readOnly: true
|
|
68327
|
+
utm:
|
|
68328
|
+
readOnly: true
|
|
68329
|
+
page_url:
|
|
68330
|
+
type: string
|
|
68331
|
+
readOnly: true
|
|
68332
|
+
created_at:
|
|
68333
|
+
type: string
|
|
68334
|
+
format: date-time
|
|
68335
|
+
readOnly: true
|
|
68336
|
+
required:
|
|
68337
|
+
- answers
|
|
68338
|
+
- created_at
|
|
68339
|
+
- deal
|
|
68340
|
+
- id
|
|
68341
|
+
- page_url
|
|
68342
|
+
- person
|
|
68343
|
+
- utm
|
|
68344
|
+
WebFormSubmitRequest:
|
|
68345
|
+
type: object
|
|
68346
|
+
properties:
|
|
68347
|
+
answers:
|
|
68348
|
+
type: object
|
|
68349
|
+
additionalProperties: {}
|
|
68350
|
+
description: Field key → answer.
|
|
68351
|
+
utm:
|
|
68352
|
+
type: object
|
|
68353
|
+
additionalProperties: {}
|
|
68354
|
+
description: Up to 8 `utm_*` tags.
|
|
68355
|
+
page_url:
|
|
68356
|
+
type: string
|
|
68357
|
+
format: uri
|
|
68358
|
+
website:
|
|
68359
|
+
type: string
|
|
68360
|
+
description: 'Honeypot: leave empty.'
|
|
68361
|
+
required:
|
|
68362
|
+
- answers
|
|
68363
|
+
WebFormSubmitResponse:
|
|
68364
|
+
type: object
|
|
68365
|
+
properties:
|
|
68366
|
+
created:
|
|
68367
|
+
type: boolean
|
|
68368
|
+
submission_id:
|
|
68369
|
+
type: string
|
|
68370
|
+
format: uuid
|
|
68371
|
+
required:
|
|
68372
|
+
- created
|
|
68373
|
+
- submission_id
|
|
66489
68374
|
WhitelistedDomain:
|
|
66490
68375
|
type: object
|
|
66491
68376
|
properties:
|