-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnext_caller_v2.1.json
44 lines (44 loc) · 1.02 KB
/
next_caller_v2.1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"version": "1.0",
"name": "Next Caller",
"url": "https://api.nextcaller.com/",
"endpoints": {
"VersionRecords": {
"GET": {
"method": "GET",
"route": {
"data": "",
"path": "/{{ parameters.version }}/records/"
},
"parameters": {
"phone": {
"value": "{{ parameters.phone }}",
"required": true
},
"format": {
"value": "{{ parameters.format }}",
"required": true
}
}
}
},
"VersionUsersNextcallerId": {
"POST": {
"method": "POST",
"route": {
"data": "",
"path": "/{{ parameters.version }}/users/{{ parameters.nextcaller_id }}/?format={{ parameters.format }}"
},
"parameters": {
"format": {
"value": "{{ parameters.format }}",
"required": true
}
},
"headers": {
"Content-Type": "{{ headers['Content-Type'] }}"
}
}
}
}
}