Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of SMS API Family #9

Open
TEF-RicardoSerr opened this issue Mar 27, 2024 · 5 comments
Open

Creation of SMS API Family #9

TEF-RicardoSerr opened this issue Mar 27, 2024 · 5 comments

Comments

@TEF-RicardoSerr
Copy link

Problem description
It has been proposed in the API backlog (Issue#372) a new API to receive SMS (application template available at PR#391). The team feels that this new proposal fits fairly well in a new API family alongside this one i wanted to query the owners of this ShortMessageService subproject to see if they are ok with including the new API withing this Github project

Expected action
@tcchiba @a-ramit Please show your view on this

CC
ReceiveSMS API Owners: @ailton-santana @adsjr2, TSC Member: @hdamker

@hdamker
Copy link
Contributor

hdamker commented Mar 27, 2024

@TEF-RicardoSerr

My thoughts:

  • Option 1: If the APIs will are very closely related (e.g. have shared schema definitions), will follow same life cycle, and will have joint releases, then it is ok to have them together within the same repository.
  • Option 2: If this condition are not given then it might be better to develop the APIs in separate repositories to avoid complexity in release management. That still allows to maintain them together by one team (e.g. one call for both repositories). That would be in line with the notion of "API Family" as a working group across multiple sub projects.

For some more details on my thoughts you can have a look on https://wiki.camaraproject.org/display/CAM/2023-11-02+TSC+Minutes?preview=/4554757/4554780/TSC-2023-11-02-API_Families_and_APIs.pptx.pptx

@a-ramit
Copy link
Collaborator

a-ramit commented Apr 10, 2024 via email

@adsjr2
Copy link

adsjr2 commented Apr 10, 2024

Receive SMS would allow interaction from the subscriber.
Example 1:
Dentist office sends a message to client:
'Your next appointment is scheduled for 12/04/2024. Reply Y to confirm'
Example 2:
Anti-spam regulations request that subscriber has the option to sign out.
"50% off at Old Navy this weekend. Reply 'STOP' to stop receiving our promotions"
Example 3:
Customer Service feedback
"How did we serve you today? On a scale from 1 to 5, 1 being the worst and 5 being the best, how do you rate our attendant?"
Example 4:
Additional security for bank transactions
"A withdrawal of $1,000 from your account has just happened. Confirm you are aware of this transaction, replying Y. N otherwise."

It would require:

  • The phone number that replied
  • A message field
  • A webhook URL (this would have to be provided on the Send SMS if a reply is expected) : this is the URL where the A2P server is expecting any answer.
  • HTTP method (POST or GET)

@TEF-RicardoSerr
Copy link
Author

It is approved in Backlog camaraproject/APIBacklog#18 to extend scope of the subgroup (minutes here) to support receiveSMS use case. The following must be accomplished:

@adsjr2 @ailton-santana recomend you to create a PR encompassing this

@jgarciahospital
Copy link

Hi @adsjr2, could you please review this pending AP from backlog? It implies the formalization of the Receive SMS functionality to be part of the ShortMessageService API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants