Getting startedGeneralCRMDealsInvoicesSubscriptionsProductsTicketsTimetracking & TasksCallsMeetingsPlanningProjectsExternal costsNotesFilesUsers & TeamsCustom Fields

Teamleader Call API

This document assumes you have your API key and know how to perform a POST request (see Getting started)

This part of the api allows you to add new timetracking entries to Teamleader.

Manipulating calls

Adding a callback

API endpoint: https://app.teamleader.eu/api/addCallback.php

Required POST parameters

  • due_date: integer: due date of the call as Unix timestamp (seconds).
  • hour: hour + minutes: what time should the call be made? Use this form: 10h15
  • user_id: ID: id of the user. Use API call below to find all possibilities.
  • for: contact/company: who to call?
  • for_id: integer: ID of the contact or company
  • custom_field_ID: replace ID by the ID of your custom field. (eg. custom_field_310)

Optional POST parameters

  • description: string: description of the call.

Sample output

Example output: ID of the callback or error message.

Searching calls

Searching all calls

API endpoint: https://app.teamleader.eu/api/getCalls.php

Required POST parameters

  • amount: integer: the amount of calls returned per request (1 - 100)
  • pageno: integer: the current page (the first page is 0)

Optional POST parameters

  • date_from: date (dd/mm/yyyy): the start date of the period you are requesting calls for
  • date_to: date (dd/mm/yyyy): the end date of the period you are requesting calls for
  • project_id: integer: the ID of the project you want to restrict this search to

Sample output

Example output: JSON array containing information about the calls

Fetching call information

API endpoint: https://app.teamleader.eu/api/getCall.php

Required POST parameters

  • call_id: integer: the ID of the meeting

Sample output

Example output: JSON array containing information about the call, including custom fields