Key parameters

Example call - all possible standard parameters

This example is from the activities API. However, similar parameters can be used in most API calls.

ParameterDescriptionExamplesMore Info
ActionDefines the API call.action=updateTypically CRUD verbs
UserUser nameuser=username
PasswordPasswordpassword=MyPassword123see Hashing Hashing - Sha512
Version numberAPI versionversion=4Incremented for each new version of Synergist
CompanySynergist companycompany=1
ActivityidID of a specific recordactivityid=4833Filters
ViewID for a pre-existing query (called a “view”)view=-1700Table of views
CollectionData collection supportcollection= /newAdvanced option
TypeThe data areatype=activityWhich API to use
PageData page to returnpage=1Page numbering starts at 0
RowsNumber of records/rows to return.rows=20 = return all rows
StyleWhich kind of data is requiredstyle=modelstructure / style=modeldataUsing models / Meta-data
ModelstructureDefines the fields returnedModelstructure=activitylistUsing models
InputJSON arraysee examplePassing data array to an API request