Youtargets.com API

The Youtargets API is implemented as a PHP page that accepts GET or POST requests and returns JSON or XML.

API clients must hit the URL http://app.youtargets.com/api2.php

All API requests must have a key argument indicating the user, except cmd=login.

VIEWING


Methods

MethodExpected parameters

getAccountInfo

getAccountSummaries

itemssummary (type: boolean, Items Summary)
latestactivity (type: boolean, Latest Activity)
recentlyviewed (type: boolean, Recently Viewed)
upcomingtasks (type: boolean, Upcoming Tasks)

userView

id (type: integer, required: Yes, User Id)

groupView

id (type: integer, required: Yes, Group Id)

contactView

id (type: integer, required: Yes, Contact id)
set_recently_viewed (type: boolean, If set to 1, contact will be added to the recently viewed list. Default: 0)

contactFilterView

companyView

id (type: integer, required: Yes, Company Id)
set_recently_viewed (type: boolean, If set to 1, company will be added to the recently viewed list. Default: 0)

phoneView

imView

addressView

dealView

id (type: integer, required: Yes, Deal Id)
set_recently_viewed (type: boolean, If set to 1, deal will be added to the recently viewed list. Default: 0)

dealCategoryView

id (type: integer, required: Yes, Deal category id)

caseView

id (type: integer, required: Yes, Case Id)
set_recently_viewed (type: boolean, If set to 1, case will be added to the recently viewed list. Default: 0)

tagView

taskView

id (type: integer, required: Yes, Task id)

taskCategoryView

id (type: integer, required: Yes, Task category Id)

noteView

noteid (type: integer, required: Yes, Note Id)

customFieldView

Introduction

Account

Users

Groups

Contacts

Companies

Websites

Emails

Phones

IMs

Addresses

Deals

Cases

Tags

Tasks

Notes

Custom Fields


LISTING

VIEWING

CREATING

MODIFYING

DELETING


Reference Data

API Wrapper (php)