Available Operations
522078Unique identifier of the user
257073Unique identifier of the user's account
VonageThe name of the user's account
RobertFirst name of the user
SmithLast name of the user
john.smith@example.comEmail address of the user
14155550100Contact number of the user
ACTIVEStatus of the user
PENDINGACTIVEDELETEDARCHIVEDUSER_UCIAUCode for the role
Account UserName for the role
Example Response
{
"id": 522078,
"accountId": 257073,
"acountLabel": "Vonage",
"firstName": "Robert",
"lastName": "Smith",
"emailAddress": "john.smith@example.com",
"contactNumber": 14155550100,
"status": "ACTIVE",
"ucis": [
{
"id": 0,
"ucpLabel": "string",
"health": {
"status": "string",
"message": "string"
},
"type": "USER_UCI"
}
],
"roles": [
{
"code": "AU",
"name": "Account User"
}
]
}Available Operations
257073Unique identifier of the account
VonageName of the account
VonageOrganization of the account
ACCOUNT_UCIACTIVEStatus of the account
PENDINGACTIVEDELETEDARCHIVEDExample Response
{
"id": 257073,
"name": "Vonage",
"org": "Vonage",
"ucis": [
{
"id": 0,
"ucpLabel": "string",
"ucpAccountId": "string",
"health": {
"status": "string",
"message": "string"
},
"type": "ACCOUNT_UCI"
}
],
"status": "ACTIVE"
}Phone number to call
Example Request
{
"phoneNumber": "string"
}{
"phoneNumber": "string"
}Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]Query Parameters
INBOUND,OUTBOUNDFilter by call direction. For multiple criteria, seperate values by a comma.
INBOUNDOUTBOUNDPage number of calls to return
20Return this amount of calls in the response
DESCSort in either ascending or descending order
DESCASCUnique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]Query Parameters
Return calls that occurred after this point in time
Return calls that occurred before this point in time
INBOUND,OUTBOUNDFilter by call direction. For multiple criteria, seperate values by a comma.
INBOUNDOUTBOUNDACTIVEACTIVE,RINGINGFilter calls by state. For multiple criteria, seperate values by a comma.
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDUnique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}Phone number to transfer to
Example Request
{
"phoneNumber": "string"
}{
"phoneNumber": "string"
}Unique identifier of the call
External identifier of the call
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the call
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the call
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the call
Time to answer the call
End time of the call
Example Response
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}Available Operations
Query Parameters
CALLRecord type
CALLReturn events that occurred after this point in time
Return events that occurred before this point in time
INBOUND,OUTBOUNDFilter by event direction
INBOUNDOUTBOUNDACTIVE,RINGINGFilter events by state
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDPage number of events to return
20Return this amount of events in the response
ASCSort in either ascending or descending order'
DESCASCSort events by property
Unique identifier of the event
External identifier of the event
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the event
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the event
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the event
Time to answer the event
End time of the event
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"smsData": "string",
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]Query Parameters
Return events that occurred after this point in time
Return events that occurred before this point in time
INBOUND,OUTBOUNDFilter by event direction
INBOUNDOUTBOUNDACTIVE,RINGINGFilter events by state
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDUnique identifier of the event
External identifier of the event
Record type
CALLUnique identifier of the account
Unique identifier of the user
Unique identifier of communications provider
Direction of the event
INBOUNDOUTBOUNDRemote caller ID
Unique identifier of the account
Duration of the call in milliseconds
Status of the event
INITIALIZINGRINGINGACTIVEHELDREMOTE_HELDDETACHEDREJECTEDCANCELLEDANSWEREDMISSEDStart time of the event
Time to answer the event
End time of the event
Example Response
[
{
"id": 0,
"externalId": "string",
"type": "CALL",
"accountId": 0,
"userId": 0,
"uciId": 0,
"direction": "INBOUND",
"callerId": "string",
"phoneNumber": "string",
"duration": 0,
"smsData": "string",
"state": "INITIALIZING",
"startTime": "2019-08-24",
"answerTime": "2019-08-24",
"endTime": "2019-08-24"
}
]https://www.example.comDestination URL for events
Events to subscribe to the webhook
HMAC_SHA256Signing algorithm for the webhook
HMAC_SHA256Signing key for the webhook
NONEMetadata policy for the webhook
NONEHEADERBODYExample Request
{
"url": "https://www.example.com",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"signingKey": "string",
"metadataPolicy": "NONE"
}{
"url": "https://www.example.com",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"signingKey": "string",
"metadataPolicy": "NONE"
}184094Unique identifier for the webhook
522078Unique identifier of the user
257073Unique identifier of the account
https://www.example.comDestination URL for events
ACTIVEStatus for the webhook
ACTIVEPAUSEDSubscribed events for the webhook
HMAC_SHA256Signing algorithm for the webhook
HMAC_SHA256NONENONEMetadata policy for the webhook
NONEHEADERBODY2019-01-01T00:00:00.000ZExpiration time for the webhook
2019-01-01T00:00:00.000ZCreated time for the webhook
2019-01-01T00:00:00.000ZLast renewed time for the webhook
2019-01-01T00:00:00.000ZScheduled purge time for the webhook
Signing key for the webhook
10Total delivery attempts
10Total successful deliveries
10Total failed deliveries
Current delivery status
Example Response
{
"id": 184094,
"userId": 522078,
"accountId": 257073,
"url": "https://www.example.com",
"status": "ACTIVE",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"metadataPolicy": "NONE",
"expireAt": "2019-01-01T00:00:00.000Z",
"createdAt": "2019-01-01T00:00:00.000Z",
"renewedAt": "2019-01-01T00:00:00.000Z",
"purgeAt": "2019-01-01T00:00:00.000Z",
"signingKey": "string",
"statistics": {
"totalAttempts": 10,
"totalSuccesses": 10,
"totalFailures": 10,
"failed": false
}
}184094Unique identifier for the webhook
522078Unique identifier of the user
257073Unique identifier of the account
https://www.example.comDestination URL for events
ACTIVEStatus for the webhook
ACTIVEPAUSEDSubscribed events for the webhook
HMAC_SHA256Signing algorithm for the webhook
HMAC_SHA256NONENONEMetadata policy for the webhook
NONEHEADERBODY2019-01-01T00:00:00.000ZExpiration time for the webhook
2019-01-01T00:00:00.000ZCreated time for the webhook
2019-01-01T00:00:00.000ZLast renewed time for the webhook
2019-01-01T00:00:00.000ZScheduled purge time for the webhook
Signing key for the webhook
10Total delivery attempts
10Total successful deliveries
10Total failed deliveries
Current delivery status
Example Response
[
{
"id": 184094,
"userId": 522078,
"accountId": 257073,
"url": "https://www.example.com",
"status": "ACTIVE",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"metadataPolicy": "NONE",
"expireAt": "2019-01-01T00:00:00.000Z",
"createdAt": "2019-01-01T00:00:00.000Z",
"renewedAt": "2019-01-01T00:00:00.000Z",
"purgeAt": "2019-01-01T00:00:00.000Z",
"signingKey": "string",
"statistics": {
"totalAttempts": 10,
"totalSuccesses": 10,
"totalFailures": 10,
"failed": false
}
}
]184094Unique identifier for the webhook
522078Unique identifier of the user
257073Unique identifier of the account
https://www.example.comDestination URL for events
ACTIVEStatus for the webhook
ACTIVEPAUSEDSubscribed events for the webhook
HMAC_SHA256Signing algorithm for the webhook
HMAC_SHA256NONENONEMetadata policy for the webhook
NONEHEADERBODY2019-01-01T00:00:00.000ZExpiration time for the webhook
2019-01-01T00:00:00.000ZCreated time for the webhook
2019-01-01T00:00:00.000ZLast renewed time for the webhook
2019-01-01T00:00:00.000ZScheduled purge time for the webhook
Signing key for the webhook
10Total delivery attempts
10Total successful deliveries
10Total failed deliveries
Current delivery status
Example Response
{
"id": 184094,
"userId": 522078,
"accountId": 257073,
"url": "https://www.example.com",
"status": "ACTIVE",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"metadataPolicy": "NONE",
"expireAt": "2019-01-01T00:00:00.000Z",
"createdAt": "2019-01-01T00:00:00.000Z",
"renewedAt": "2019-01-01T00:00:00.000Z",
"purgeAt": "2019-01-01T00:00:00.000Z",
"signingKey": "string",
"statistics": {
"totalAttempts": 10,
"totalSuccesses": 10,
"totalFailures": 10,
"failed": false
}
}184094Unique identifier for the webhook
522078Unique identifier of the user
257073Unique identifier of the account
https://www.example.comDestination URL for events
ACTIVEStatus for the webhook
ACTIVEPAUSEDSubscribed events for the webhook
HMAC_SHA256Signing algorithm for the webhook
HMAC_SHA256NONENONEMetadata policy for the webhook
NONEHEADERBODY2019-01-01T00:00:00.000ZExpiration time for the webhook
2019-01-01T00:00:00.000ZCreated time for the webhook
2019-01-01T00:00:00.000ZLast renewed time for the webhook
2019-01-01T00:00:00.000ZScheduled purge time for the webhook
Signing key for the webhook
10Total delivery attempts
10Total successful deliveries
10Total failed deliveries
Current delivery status
Example Response
{
"id": 184094,
"userId": 522078,
"accountId": 257073,
"url": "https://www.example.com",
"status": "ACTIVE",
"events": [
"CALL"
],
"signingAlgo": "HMAC_SHA256",
"metadataPolicy": "NONE",
"expireAt": "2019-01-01T00:00:00.000Z",
"createdAt": "2019-01-01T00:00:00.000Z",
"renewedAt": "2019-01-01T00:00:00.000Z",
"purgeAt": "2019-01-01T00:00:00.000Z",
"signingKey": "string",
"statistics": {
"totalAttempts": 10,
"totalSuccesses": 10,
"totalFailures": 10,
"failed": false
}
}