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.

LISTING


Methods

MethodExpected parameters

userList

groupList

contactList

contactfilterid (type: string, Search using a Contact Filter Id)
name (type: string, Filter by name)
title (type: string, Filter by title)
email (type: string, Filter by email)
city (type: string, Filter by city)
state (type: string, Filter by state)
country (type: string, Filter by country)
zip (type: string, Filter by zip)
street (type: string, Filter by street)
phone (type: string, Filter by phone)
website (type: string, Filter by website)
notes (type: string, Filter by notes)
customfields (type: json, Filter by custom fields)

contactFilterList

companyList

websiteList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)
address (type: string, required: Yes, Website address)

emailList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)

phoneList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)

imList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)

addressList

contactid (type: integer, required: Yes, Contact id)
companyid (type: integer, required: Yes, Company id)

dealList

dealCategoryList

caseList

tagList

taskList

taskcategoryid (type: integer, Task category)
contactid (type: integer, Contact id)
companyid (type: integer, Company id)
duemonth (type: integer, Due month)
dueday (type: integer, Due day)
dueyear (type: integer, Due year)
done (type: boolean, Task done: 0 or 1)

taskCategoryList

noteList

subject (type: string, required: Yes, What type of notes do you want to list, choose from: contact, company, deal, case)
subjectid (type: integer, Subject Id)

customFieldList

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)