-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
We are going to provide at least two channels for the supporters (well, the tools used by the NGOs that run the campaigns) to send a message to a politician:
-
REST API: this is assuming there is another tool allowing the supporters to take action that will call this API
-
email: detailled on issue Stalwart WEBHOOK #3
for the API, what schema should we go with?
OpenAPI or GraphQL?
for proca we are using graphql, I don't have a strong preference either way, do you?
mutation:
"email add"
- messageid* any uuid, the provider needs to give a unique id, email is fine for that
- sender name*
- sender email* (where we need to send the reply from the politician)
- subject*
- message*
- timestamp*
- campaign_name (?) to be discussed, if the campaign provider knows it, they can provide it, it will help quite a bit the classification ;) assume empty
for MVP, no extra options, eg no image, voice...
returns a status OK/try later/error
--> to be fleshed out
Authentication:
token ?
oauth for after MVP
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels