1

Our organisation has an ios/android app and would like to receive donation thru the app. Developer requires details of REST webserver endpoint of our civicrm to receive & post contact/contribution data. We are using drupal and civi 5.13. How do I get started? any help would be much appreciated. Thanks

2

CiviCRM provides api for each entity. Each entity has its own parameter. You can use API explorer to find how params are build and need to send through rest api. The API explorer screen provides detailed information about using various method of using api to perform CRUD operation on CiviCRM.

While using rest api you will need to pass Site key (stored in civicrm.settings.php) and User contact's api key (You can either set this in civicrm_contact table or use API Key extension to set and see the api key) as part of authentication.

Cheers

Pradeep

  • Thanks Pradeep. And how do the data gets posted on civicrm? thru direct URL with parameters? – Tapash May 13 at 8:58
  • Yes, You can wither use POST(secured) or GET method. – Pradeep Nayak May 13 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.