User

List tasks

Returns all of tasks assigned to current user

get/tasks

Request

  • Base URL: http://bonzo.site/api/v3
  • URL: http://bonzo.site/api/v3/tasks
  • Auth: HTTP bearer

Query parameters

prospect_idinteger
searchstring
Example:Task title

Search by title

type'none' | 'call' | 'voicemail' | 'follow_up' | 'meeting' | 'birthday'
Example:call
status'today' | 'active' | 'upcoming' | 'overdue' | 'completed' | 'birthday' | 'current'
Example:active
conversationalistboolean
sort'title' | 'details' | 'type' | 'assignee_id' | 'business_id' | 'prospect_id' | 'date'
Example:title
order'desc' | 'asc'
Example:desc
per_pageinteger
pageinteger
no_paginateboolean

Response

Success

Example response

{
  "data": [
    {
      "type": "call",
      "frequency": "monthly",
      "date": "2022-01-01",
      "time": "09:00:00",
      "title": "Task title",
      "details": "Additional information about the task.",
      "notification_channels": "email",
      "completed_at": "2022-01-01T01:00:00.000000Z",
      "created_at": "2022-01-01T01:00:00.000000Z",
      "updated_at": "2022-01-01T01:00:00.000000Z",
      "assignee": {
        "name": "John Doe",
        "email": "johndoe@example.com",
        "phone": "1112223333",
        "avatar_url": "https://via.placeholder.com/128x128"
      },
      "prospect": {
        "full_name": "John Doe",
        "email": "johndoe@example.com",
        "phone": "1112223333",
        "avatar": "https://via.placeholder.com/128x128"
      },
      "owner": {
        "name": "John Doe",
        "email": "johndoe@example.com",
        "phone": "1112223333",
        "avatar_url": "https://via.placeholder.com/128x128"
      },
      "items": [
        {
          "title": "Task item title",
          "completed_at": "2022-01-01T01:00:00.000000Z",
          "created_at": "2022-01-01T01:00:00.000000Z",
          "updated_at": "2022-01-01T01:00:00.000000Z"
        }
      ]
    }
  ],
  "links": {
    "first": "https://example.com?page=1",
    "last": "https://example.com?page=3",
    "next": "https://example.com?page=2"
  },
  "meta": {
    "links": [
      {
        "url": null,
        "label": "« Previous",
        "active": false
      },
      {
        "url": "https://example.com?page=1",
        "label": 1,
        "active": true
      },
      {
        "url": "https://example.com?page=2",
        "label": 2,
        "active": false
      },
      {
        "url": "https://example.com?page=2",
        "label": "Next »",
        "active": false
      }
    ],
    "path": "https://example.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.