PUT /api/v1/secure/:secure_token/calls/:uuid
Update a call with a secure_token and uuid.

Supported Formats

json

Examples

curl -i -X PUT "trackdrive.net/api/v1/secure/11111111035c9a8287c2e413a03fb32051f620e0/calls/77777777-dbe3-49ee-b28f-115ec80dcef9?revenue=10&buyer_converted=true"

Params

Param name
Description
secure_token
required

The secure token used to authorize access to an individual object. Must be 40 characters.

  • Must match regular expression /.{40}/.

uuid
required

A unique identifier eg: 5cc8897c-ad0f-44cb-8ea7-8f7736ae76f1

  • Must be String

revenue
optional

The revenue paid out for the call.

  • Must be a number.

buyer_converted
optional

Whether this call's buyer has converted.

  • Must be one of: true, false.


DELETE /api/v1/secure/:secure_token/calls/:uuid
Hang up an ongoing call using a secure_token and uuid.

Supported Formats

json

Examples

curl -i -X DELETE "trackdrive.net/api/v1/secure/11111111035c9a8287c2e413a03fb32051f620e0/calls/77777777-dbe3-49ee-b28f-115ec80dcef9"

Params

Param name
Description
secure_token
required

The secure token used to authorize access to an individual object. Must be 40 characters.

  • Must match regular expression /.{40}/.

uuid
required

A unique identifier eg: 5cc8897c-ad0f-44cb-8ea7-8f7736ae76f1

  • Must be String