You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"query_strings" : { // Description of the query string parameters in the endpoint
28
28
"parameter1" : "<parameter1>",
29
29
"parameter2" : "<parameter2>"
30
-
},
30
+
},
31
31
32
32
"headers" : {
33
33
"Authorization" : "Basic <constant>" or "api-key <constant>" or "Bearer <constant>", // replace <constant> with an expected value
34
34
"X-API-Key" : "API-Key" // Only applicable for "api_key" auth type.
35
-
},
35
+
},
36
36
37
37
"response" : { // Response to 200 range of codes
38
38
"token" : "<token>" // this token will be used for APIs with "bearer_token_dynamic" auth type
39
-
}
40
-
},
41
-
42
-
"getCallerDetails" : [ // Can specify multiple endpoints below to get caller details by phone number, ID, email, etc.
43
-
{
44
-
"endpoint" : "<endpoint1>", // For example, https://www.contoso.com/home?parameter1=<parameter1>¶meter2=<parameter2>
45
-
"method_type": "GET"or "PUT" or "POST",
46
-
"description" : "<description>",
47
-
"query_strings" : { // Definition of the query string parameters in the endpoint
48
-
"parameter1" : "<parameter1>",
49
-
"parameter2" : "<parameter2>"
50
-
},
51
-
52
-
"headers" : {
53
-
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>", // replace <constant> with an expected value. <token> will be replaced by the response to generateAuthToken()
54
-
"X-API-Key" : "API-Key"// Only applicable for "api_key" auth type.
39
+
}
55
40
},
56
41
57
-
"body" : { // Sent as JSON payload
58
-
"in_parameter1" : "<in_parameter1>",
59
-
"in_parameter2" : "<in_parameter2>"
60
-
},
42
+
"getCallerDetails" : [ // Can specify multiple endpoints below to get caller details by phone number, ID, email, etc.
43
+
{
44
+
"endpoint" : "<endpoint1>", // For example, https://www.contoso.com/home?parameter1=<parameter1>¶meter2=<parameter2>
45
+
"method_type": "GET" or "PUT" or "POST",
46
+
"description" : "<description>",
47
+
"query_strings" : { // Definition of the query string parameters in the endpoint
48
+
"parameter1" : "<parameter1>",
49
+
"parameter2" : "<parameter2>"
50
+
},
61
51
62
-
"response" : { // Response to 200 range of codes
63
-
"out_parameter1" : "<out_parameter1>",
64
-
"out_parameter2" : "<out_parameter2>",
65
-
"out_parameter3" : "<out_parameter3>"
66
-
}
67
-
},
52
+
"headers" : {
53
+
"Authorization" : "Basic <constant>" or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>", // replace <constant> with an expected value. <token> will be replaced by the response to generateAuthToken()
54
+
"X-API-Key" : "API-Key" // Only applicable for "api_key" auth type.
55
+
},
68
56
69
-
{
70
-
"endpoint" : "<endpoint2>",
71
-
"method_type": "GET"or "PUT" or "POST",
72
-
"description" : "<description>",
73
-
"query_strings" : {
74
-
"parameter1" : "<parameter1>",
75
-
"parameter2" : "<parameter2>"
76
-
},
57
+
"body" : { // Sent as JSON payload
58
+
"in_parameter1" : "<in_parameter1>",
59
+
"in_parameter2" : "<in_parameter2>"
60
+
},
77
61
78
-
"headers" : {
79
-
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>",
80
-
"X-API-Key" : "API-Key"
62
+
"response" : { // Response to 200 range of codes
63
+
"out_parameter1" : "<out_parameter1>",
64
+
"out_parameter2" : "<out_parameter2>",
65
+
"out_parameter3" : "<out_parameter3>"
66
+
}
81
67
},
82
68
83
-
"body" : {
84
-
"in_parameter1" : "<in_parameter1>",
85
-
"in_parameter2" : "<in_parameter2>"
86
-
},
69
+
{
70
+
"endpoint" : "<endpoint2>",
71
+
"method_type": "GET" or "PUT" or "POST",
72
+
"description" : "<description>",
73
+
"query_strings" : {
74
+
"parameter1" : "<parameter1>",
75
+
"parameter2" : "<parameter2>"
76
+
},
87
77
88
-
"r esponse" : {
89
-
"out_parameter1" : "<out_parameter1>",
90
-
"out_parameter2" : "<out_parameter2>",
91
-
"out_parameter3" : "<out_parameter3>"
92
-
}
93
-
}
78
+
"headers" : {
79
+
"Authorization" : "Basic <constant>" or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>",
80
+
"X-API-Key" : "API-Key"
81
+
},
82
+
83
+
"body" : {
84
+
"in_parameter1" : "<in_parameter1>",
85
+
"in_parameter2" : "<in_parameter2>"
86
+
},
87
+
88
+
"response" : {
89
+
"out_parameter1" : "<out_parameter1>",
90
+
"out_parameter2" : "<out_parameter2>",
91
+
"out_parameter3" : "<out_parameter3>"
92
+
}
93
+
}
94
94
],
95
95
96
96
"initiateCallerAuthentication" : [ // for SMS/email code, verification link
0 commit comments