AamAadmiParty / cleansweep

Volunteer & Campaign Management System
Other
40 stars 21 forks source link

Cleansweep api #139

Closed raghavio closed 8 years ago

raghavio commented 8 years ago

Added two endpoints:

  • /api/authorize/
  • Takes client-id, client-secret, scope and phone number (If request is from cleansweep-sms-bridge) Do some checks and returns the signed token.

  • /api/send-sms/
  • Takes token, place and message. Get scope and phone number from token. Do some checks and send a sms to all the volunteers of the specified place.