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
"generateAuthToken" : { // Must be specified for "bearer_token_dynamic"
23
+
"endpoint" : "<endpoint>", // For example, https://www.contoso.com/home?parameter1=<parameter1>¶meter2=<parameter2>
24
+
"method_type": "GET"or "PUT" or "POST",
25
+
"description" : "<description>",
26
+
27
+
"query_strings" : { // Description of the query string parameters in the endpoint
28
+
"parameter1" : "<parameter1>",
29
+
"parameter2" : "<parameter2>"
30
+
},
31
+
32
+
"headers" : {
33
+
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>", // replace <constant> with an expected value
34
+
"X-API-Key" : "API-Key"// Only applicable for "api_key" auth type.
35
+
},
36
+
37
+
"response" : { // Response to 200 range of codes
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.
55
+
},
56
+
57
+
"body" : { // Sent as JSON payload
58
+
"in_parameter1" : "<in_parameter1>",
59
+
"in_parameter2" : "<in_parameter2>"
60
+
},
61
+
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
+
},
68
+
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
+
},
77
+
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
+
"r esponse" : {
89
+
"out_parameter1" : "<out_parameter1>",
90
+
"out_parameter2" : "<out_parameter2>",
91
+
"out_parameter3" : "<out_parameter3>"
92
+
}
93
+
}
94
+
],
95
+
96
+
"initiateCallerAuthentication" : [ // for SMS/email code, verification link
97
+
98
+
{
99
+
100
+
"endpoint" : "<endpoint>",
101
+
102
+
"method_type": "GET"or "PUT" or "POST",
103
+
104
+
"description" : "<description>",
105
+
106
+
"query_strings" : {
107
+
108
+
"parameter1" : "<parameter1>",
109
+
110
+
"parameter2" : "<parameter2>"
111
+
112
+
},
113
+
114
+
"headers" : {
115
+
116
+
"Authorization" : "Basic <constant>"or "api-key <constant>" or "Bearer <constant>" or "Bearer <token>",
117
+
118
+
"X-API-Key" : "API-Key"// Only applicable for "api_key" auth type.
119
+
120
+
},
121
+
122
+
"body" : {
123
+
124
+
"in_parameter1" : "<in_parameter1>", // phone number, user ID, etc
0 commit comments