Skip to main content

Input fields

direction : CallDirection! required

The direction of the call.

duration : Int

The duration of the call in seconds.

fromPhoneNumber : String! required

The phone number the call was made from.

groupNames : [String!]

Names of call groups to associate with the call.

id : UUID! required

UUID identifying the call, also used as an idempotency key.

occurredAt : DateTime! required

The datetime the call occurred.

tagNames : [String!]

Names of call tags to associate with the call.

terminationReason : CallTerminationReason

The reason the call was terminated. Defaults to COMPLETED.

toPhoneNumber : String! required

The phone number the call was made to.

vendor : String! required

The telephony vendor or system the call originated from.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "direction": "INBOUND", "duration": 88, "fromPhoneNumber": "describe-instead-ahead-develop-just", "groupNames": "many-do-discuss-despite-least", "id": "6a8ac4ba-0580-4975-ad2f-89d94a2f20aa", "occurredAt": "2017-06-20T18:24:01.929499+00:00", "tagNames": "news-politics-control-yeah-team", "terminationReason": "BUSY", "toPhoneNumber": "building-four-return-represent-view", "vendor": "instead-stop-prove-field-onto" }