channels
Set Notification Channel
Changed onChoose where the coach's notifications go: a linked channel, or the app.
{"channel": null} sends them to the app's push only. A channel the athlete has no live link on is a 404 and changes nothing. Answers with the resulting notification_channel, the same field the GET reads. A channel that can't take notifications right now, such as iMessage while its deploy keeps it off, is a 409 and changes nothing.
put/channel_associations/notification_channel
Request
- Base URLhttps://api.imperfect.co (the document declares no server; this is the origin it was published from)
- URLhttps://api.imperfect.co/channel_associations/notification_channel
- AuthHTTP bearer
Query parameters
user_idstring nullable
Request body
Response
Successful Response
object required
Changes
- info
endpoint added
- info