Verfügbare Operationen
Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
Abfrage Parameter
1234100100Return max this amount of calls in the response.
ascEither ascending or descending order.
Must be one of asc or desc.
1595955770Return the calls that occurred after this point in time.
Should be of type epoch with seconds precision.
1595955770Return the calls that occurred before this point in time.
Should be of type epoch with seconds precision.
12343fa85f64-5717-4562-b3fc-2c963f66afa6inboundinboundoutbound159595973612355511111234Account that this call leg belongs to
3fa85f64-5717-4562-b3fc-2c963f66afa6Call Id this call belongs to
inboundLeg direction - either "inbound" or "outbound"
inboundoutbound1595959736Call end time (if applicable)
1231112222The "from" DID or extension
3fa85f64-5717-4562-b3fc-2c963f66afa6Globally unique leg Id
1595959736Call start time
busycurrent leg status
busyfailedunansweredringingon-call1234567890The "to" DID or extension
1595959736busybusyfailedunansweredringingon-call1234567890/cc/accounts/1234/calls?page_size=0&order=desc1/cc/accounts/1234/calls?page_size=0&order=descdesc11/cc/accounts/1234/calls?page_size=0&order=descBeispiel Antwort
{
"calls": [
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1235551111,
"legs": [
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1231112222,
"leg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}
],
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}
],
"current_page": 0,
"first_page_uri": "/cc/accounts/1234/calls?page_size=0&order=desc",
"next_page": 1,
"next_page_uri": "/cc/accounts/1234/calls?page_size=0&order=desc",
"order": "desc",
"page_size": 1,
"pages": 1,
"previous_page_uri": "/cc/accounts/1234/calls?page_size=0&order=desc"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
1234extensiondeviceextensionfeature_code1234567890pstndeviceextensionpstnfeature_codeclick2dialclick2dialclick2dialmeodrdefaultBeispiel Anfrage
{
"from": {
"destination": 1234,
"type": "extension"
},
"to": {
"destination": 1234567890,
"type": "pstn"
},
"type": "click2dial"
}{
"from": {
"destination": 1234,
"type": "extension"
},
"to": {
"destination": 1234567890,
"type": "pstn"
},
"type": "click2dial"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
12343fa85f64-5717-4562-b3fc-2c963f66afa6inboundinboundoutbound159595973612355511111234Account that this call leg belongs to
3fa85f64-5717-4562-b3fc-2c963f66afa6Call Id this call belongs to
inboundLeg direction - either "inbound" or "outbound"
inboundoutbound1595959736Call end time (if applicable)
1231112222The "from" DID or extension
3fa85f64-5717-4562-b3fc-2c963f66afa6Globally unique leg Id
1595959736Call start time
busycurrent leg status
busyfailedunansweredringingon-call1234567890The "to" DID or extension
1595959736busybusyfailedunansweredringingon-call1234567890Beispiel Antwort
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1235551111,
"legs": [
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1231112222,
"leg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}
],
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
1234567890pstndeviceextensionpstnactiveparked1234567890pstndeviceextensionpstnBeispiel Anfrage
{
"from": {
"destination": 1234567890,
"type": "pstn"
},
"state": "active",
"to": {
"destination": 1234567890,
"type": "pstn"
}
}{
"from": {
"destination": 1234567890,
"type": "pstn"
},
"state": "active",
"to": {
"destination": 1234567890,
"type": "pstn"
}
}12343fa85f64-5717-4562-b3fc-2c963f66afa6Beispiel Antwort
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"call_state": "string",
"destination": "string"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
12343fa85f64-5717-4562-b3fc-2c963f66afa6Beispiel Antwort
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"call_state": "string",
"destination": "string"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
1234Account that this call leg belongs to
3fa85f64-5717-4562-b3fc-2c963f66afa6Call Id this call belongs to
inboundLeg direction - either "inbound" or "outbound"
inboundoutbound1595959736Call end time (if applicable)
1231112222The "from" DID or extension
3fa85f64-5717-4562-b3fc-2c963f66afa6Globally unique leg Id
1595959736Call start time
busycurrent leg status
busyfailedunansweredringingon-call1234567890The "to" DID or extension
Beispiel Antwort
[
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1231112222,
"leg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}
]Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
1234Account that this call leg belongs to
3fa85f64-5717-4562-b3fc-2c963f66afa6Call Id this call belongs to
inboundLeg direction - either "inbound" or "outbound"
inboundoutbound1595959736Call end time (if applicable)
1231112222The "from" DID or extension
3fa85f64-5717-4562-b3fc-2c963f66afa6Globally unique leg Id
1595959736Call start time
busycurrent leg status
busyfailedunansweredringingon-call1234567890The "to" DID or extension
Beispiel Antwort
{
"account_id": 1234,
"call_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "inbound",
"end_time": 1595959736,
"from": 1231112222,
"leg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"start_time": 1595959736,
"status": "busy",
"to": 1234567890
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
heldBeispiel Anfrage
{
"state": "held"
}{
"state": "held"
}12343fa85f64-5717-4562-b3fc-2c963f66afa6Beispiel Antwort
{
"account_id": 1234,
"call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e",
"call_state": "string",
"destination": "string",
"leg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
Abfrage Parameter
10010Return max this number of devices in the response.
ascEither ascending or descending order.
Must be one of asc or desc.
1595955770Return the devices that were registered after this point in time.
Should be of type epoch with seconds precision.
1595955770Return the devices that were registered before this point in time.
Should be of type epoch with seconds precision.
11234150.24.83.171595937421159593742179-5C-7D-28-1B-B3159593742115959374211595937421/registration/accounts/1234/devices?page_size=100&order=desc/registration/accounts/1234/devices?page_size=100&order=descdesc102/registration/accounts/1234/devices?page_size=100&order=descBeispiel Antwort
{
"current_page": 1,
"devices": [
{
"account_id": 1234,
"device_ip": "150.24.83.17",
"last_request": 1595937421,
"last_success": 1595937421,
"mac_address": "79-5C-7D-28-1B-B3",
"registration": {
"last_success": 1595937421
},
"provisioned": {
"last_success": 1595937421,
"last_request": 1595937421
}
}
],
"first_page_uri": "/registration/accounts/1234/devices?page_size=100&order=desc",
"next_page": "string",
"next_page_uri": "/registration/accounts/1234/devices?page_size=100&order=desc",
"order": "desc",
"page_size": 10,
"pages": 2,
"previous_page_uri": "/registration/accounts/1234/devices?page_size=100&order=desc"
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Ihr OAuth-Token. | Headers | Bearer <access_token> |
1234150.24.83.171595937421159593742179-5C-7D-28-1B-B3159593742115959374211595937421Beispiel Antwort
{
"account_id": 1234,
"device_ip": "150.24.83.17",
"last_request": 1595937421,
"last_success": 1595937421,
"mac_address": "79-5C-7D-28-1B-B3",
"registration": {
"last_success": 1595937421
},
"provisioned": {
"last_success": 1595937421,
"last_request": 1595937421
}
}