Skip to content

Tell me when a perk's codes are back​

PUT
/me/perks/{perkId}/watch

"Tell me when it's back" under an online perk that is out of codes. When an upload takes the perk from no codes to some, the person is told once (bell and email) and the watch ends. Watching it again changes nothing.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

perkId*
Type
string
Required
Format
"uuid"

Responses​

OK

application/json
JSON
{
"watching": true
}

Playground​

Server
Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress