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

Add SMS MODE Create API Call #17

Open
MasterCash opened this issue Dec 8, 2019 · 0 comments
Open

Add SMS MODE Create API Call #17

MasterCash opened this issue Dec 8, 2019 · 0 comments
Labels
mid priority Mid level priority items
Milestone

Comments

@MasterCash
Copy link
Owner

add functionality for POST /users/sms_mode

Enables SMS mode for N hours, where N is at most 48. After N hours have elapsed, user will receive push notifications.

Request:

    {
      "duration": 4,
      "registration_id": "TOKEN"
    }

Parameters:

  • duration(required): integer -
  • registration_id: string - The push notification ID/token that should be suppressed during SMS mode. If this is omitted, both SMS and push notifications will be delivered to the device.

Responses:

201 Created
@MasterCash MasterCash added the mid priority Mid level priority items label Dec 8, 2019
@MasterCash MasterCash added this to the v1 milestone Dec 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mid priority Mid level priority items
Projects
None yet
Development

No branches or pull requests

1 participant