The NOWATCH API
NOWATCH API (0.9.0)
https://docs.api.nowatch.tech/_mock/apis/
https://docs.api.nowatch.tech/nowatch/
User email address used as the login identifier.
User password. Requirements:
- At least one lowercase letter is required.
- At least one uppercase letter is required.
- At least one digit (0-9) is required.
- At least one special character from the provided set
(^$*.[]{}()?-“!@#%&/,><’:;|_~+)is required.
Timestamp when the Terms of Service were accepted
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/register
https://docs.api.nowatch.tech/nowatch/v1/auth/register
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/register \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "spongebob@bikinibottom.com",
"password": "BigBob27!",
"first_name": "Sponge Bob",
"last_name": "Squarepants",
"toc_accepted_at": "2024-07-01T12:34:56Z",
"privacy_policy_accepted_at": "2024-07-01T12:34:56Z"
}'{ "status": "success" }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v2/auth/login
https://docs.api.nowatch.tech/nowatch/v2/auth/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v2/auth/login \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "garryTheSnail@bikinibottom.com",
"password": "BigBob27!"
}'Access and refresh token information
JWT access token used to authorize API requests
JWT refresh token used to obtain a new access token
{ "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmJmIjoxNjAwMDAwMDAwLCJleHAiOjE2MDAwMzYwMDB9.signature", "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature", "expiresIn": 3600 }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v2/auth/login/admin
https://docs.api.nowatch.tech/nowatch/v2/auth/login/admin
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v2/auth/login/admin \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "garryTheSnail@bikinibottom.com",
"password": "BigBob27!"
}'Access and refresh token information
JWT access token used to authorize API requests
JWT refresh token used to obtain a new access token
{ "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmJmIjoxNjAwMDAwMDAwLCJleHAiOjE2MDAwMzYwMDB9.signature", "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature", "expiresIn": 3600 }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/refresh
https://docs.api.nowatch.tech/nowatch/v1/auth/refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/refresh \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature"
}'Access and refresh token information
JWT access token used to authorize API requests
JWT refresh token used to obtain a new access token
{ "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmJmIjoxNjAwMDAwMDAwLCJleHAiOjE2MDAwMzYwMDB9.signature", "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature", "expiresIn": 3600 }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/forgot_password
https://docs.api.nowatch.tech/nowatch/v1/auth/forgot_password
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/forgot_password \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "spongebob@bikinibottom.com"
}'{ "status": "success" }
New user password. Requirements:
- At least one lowercase letter is required.
- At least one uppercase letter is required.
- At least one digit (0-9) is required.
- At least one special character from the provided set
(^$*.[]{}()?-“!@#%&/,><’:;|_~+)is required.
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/confirm_new_password
https://docs.api.nowatch.tech/nowatch/v1/auth/confirm_new_password
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/confirm_new_password \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "spongebob@bikinibottom.com",
"verification_code": "123456",
"new_password": "BigBob27!"
}'{ "status": "success" }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/sign-out
https://docs.api.nowatch.tech/nowatch/v1/auth/sign-out
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/sign-out \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "spongebob@bikinibottom.com"
}'{ "status": "success" }
- Mock server
https://docs.api.nowatch.tech/_mock/apis/v1/auth/login
https://docs.api.nowatch.tech/nowatch/v1/auth/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.api.nowatch.tech/_mock/apis/v1/auth/login \
-H 'Content-Type: application/json' \
-H 'x-auth-token: string' \
-d '{
"email": "garryTheSnail@bikinibottom.com",
"password": "BigBob27!"
}'Access and refresh token information
JWT access token used to authorize API requests
JWT refresh token used to obtain a new access token
{ "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwibmJmIjoxNjAwMDAwMDAwLCJleHAiOjE2MDAwMzYwMDB9.signature", "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJyZWZyZXNoIiwic3ViIjoiMTIzNCIsImV4cCI6MTYwMDA5MjAwMH0.signature", "expiresIn": 3600 }