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.

Contacts


Methods

MethodExpected parameters

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)

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)

contactCreate

firstname (type: string, required: Yes, The first name of the contact)
lastname (type: string, The last name of the contact)
title (type: string, The title of the contact)
companyid (type: integer, Company Id)
linkedin (type: string, Linkedin profile URL)
twitter (type: string, Twitter username)
facebook (type: string, Facebook profile URL)
gplus (type: string, Google Plus profile URL)
notes (type: string, Contact notes)

contactEdit

id (type: string, required: Yes, Contact Id)
firstname (type: string, The first name of the contact)
lastname (type: string, The last name of the contact)
title (type: string, The title of the contact)
companyid (type: integer, Company Id)
linkedin (type: string, Linkedin profile URL)
twitter (type: string, Twitter username)
facebook (type: string, Facebook profile URL)
gplus (type: string, Google Plus profile URL)
notes (type: string, Contact notes)

contactDelete

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

contactFilterList

contactFilterView

contactFilterCreate

contactFilterEdit

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)