Version 6 (modified by 11 years ago) ( diff ) | ,
---|
CiviCRM Rest API
Relevant Links for version 4.2
- Devlopers Guide API Reference
- API Reference
- Rest Interface
- Setting up a Site Key - necessary for Rest API.
- Test Server API Explorer
- Parameter list for Test Server - What parameters are available for each entity in the API.
Steps to Enable the Rest API
- Create a site key
- Create a user
- Enable the user to access the REST api
Using the REST API
- Login using the URL: https://{CIVIPATH}/civicrm/extern/rest.php?q=civicrm/login&name={USERNAME}&pass={PASSWORD}&key={SITE_KEY}&json=1
- Extract the
SESSION_ID
from the response. - Make a request supplying the
SITE_KEY
andSESSION_ID
Note:
See TracWiki
for help on using the wiki.