This project serves as a guide to help you build an application with Persephony. Specifically, the project will:
- Make a call
- Prompt the participant to leave a message
To get started using a persephony account, follow the instructions here.
-
Configure environment variables.
ENV VARIABLE DESCRIPTION ACCOUNT_ID Account ID which can be found under API Keys in Dashboard AUTH_TOKEN Authentication Token which can be found under API Keys in Dashboard TUTORIAL_APPLICATION_ID Appliction IDs can be found under Apps TO_PHONE_NUMBER The phone number which is being called. Must be a verified phone number PERSEPHONY_PHONE_NUMBER The persephony number that is being used to make a phone call. To learn more go here HOST URL where your app is being hosted
-
Build and run the application using command:
$ gradle build && java -Dserver.port=3000 -jar build/libs/gs-spring-boot-0.1.0.jar