GET /api/v1/scheduled_callbacks
translation missing: en.api.scheduled_callbacks.index

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String


GET /api/v1/scheduled_callbacks/new
Returns a new Scheduled Callback

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

call_id
Optional

The callback will be made against this call.

lead_id
Optional

The callback will be made against this lead.


POST /api/v1/scheduled_callbacks
Create a Scheduled Callback

Examples

curl -X POST "trackdrive.net/api/v1/scheduled_callbacks?auth_token=your-token&place_call_at=2021-10-05+05%3A18&place_call_time_zone=Eastern+Time+%28US+%26+Canada%29&schedule_id=12345678&to=%2B16053334444"

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

to
Optional Blank Value Allowed

The telephone number for the consumer who will receive a callback.

  • Must be String

schedule_id
Optional Blank Value Allowed

The schedule that the callback will be associated with.

call_id
Optional Blank Value Allowed

The callback will be made against this call.

lead_id
Optional Blank Value Allowed

The callback will be made against this lead.

connect_with
Required

Who Should The Consumer Talk To?

  • Must be one of: me, anyone, connect_with_buyer_id.

place_call_at
Required

When should the callback occur?

  • Must be a valid time: 2021-09-28 05:34:28 +0000

place_call_time_zone
Required

The time zone that will be used when parsing place_call_at


GET /api/v1/scheduled_callbacks/:id
Returns a Scheduled Callback by ID

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

call_id
Optional

The callback will be made against this call.

lead_id
Optional

The callback will be made against this lead.


PUT /api/v1/scheduled_callbacks/:id
Updates a Scheduled Callback by ID

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

connect_with
Required

Who Should The Consumer Talk To?

  • Must be one of: me, anyone, connect_with_buyer_id.

place_call_at
Required

When should the callback occur?

  • Must be a valid time: 2021-09-28 05:34:28 +0000

place_call_time_zone
Required

The time zone that will be used when parsing place_call_at


DELETE /api/v1/scheduled_callbacks/:id
Delete a Scheduled Callback by ID

Response Example

{
  "status" : 200,
  "errors" : {},
  "scheduled_callback" : {
    "id" : 89402,
    "created_at" : "2019-08-09T17:13:00.378-04:00",
    "updated_at" : "2019-08-09T17:13:00.378-04:00",
    "user_updated_at" : null,
    "company_id" : 28940,
    "lead_id" : 109923238,
    "collaborator_id" : 82904,
    "connect_with" : "me",
    "place_call_at" : "2019-08-12T13:00:00.000-04:00",
    "place_call_time_zone" : "Eastern Time (US & Canada)",
    "type" : "ScheduledCallback"
  },
  "checksum" : "e24b941d4634c11a32d09b11fc8588f0",
  "metadata" : {
    "root" : "scheduled_callback"
  }
}

Params

Param name
Description
auth_token
Optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String