1{
2 "key": "<journeyKey>",
3 "name": "<journeyName>",
4 "version": 1,
5 "workflowApiVersion": 1,
6 "activities": [
7 {
8 "key": "REST-1",
9 "name": "Custom REST Activity",
10 "type": "REST",
11 "outcomes": [
12 {
13 "next": null
14 }
15 ],
16 "arguments": {
17 "execute": {
18 "inArguments": [
19 {
20 "message": "<message>"
21 }
22 ],
23 "outArguments": [],
24 "url": "https://example.com/post.php?dir=et_rest_activity_execute",
25 "body": "<emailBody>",
26 "header": "",
27 "useJwt": true,
28 "customerKey": "<customerKey>",
29 "timeout": 10000
30 }
31 },
32 "configurationArguments": {
33 "save": {
34 "url": "https://example.com/post.php?dir=et_rest_activity_save",
35 "body": "",
36 "header": "",
37 "useJwt": true,
38 "customerKey": "<customerKey>"
39 },
40 "validate": {
41 "url": "https://example.com/post.php?dir=et_rest_activity_validate",
42 "body": "",
43 "header": "",
44 "useJwt": true,
45 "customerKey": "<customerKey>"
46 },
47 "publish": {
48 "url": "https://example.com/post.php?dir=et_rest_activity_publish",
49 "body": "",
50 "header": "",
51 "useJwt": true,
52 "customerKey": "<customerKey>"
53 }
54 },
55 "metaData": {
56 "isConfigured": true
57 }
58 }
59 ],
60 "triggers": [],
61 "goals": [],
62 "entryMode": "SingleEntryAcrossAllVersions",
63 "executionMode": "Production",
64 "status": "Draft"
65}