go-ring API Reference
OpenapiAuthentication

Submit OAuth credentials

Submits sign-in credentials to continue OAuth authorization. The response may indicate that a two-factor code is required.

POST
/oauth/v2/signin

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/oauth/v2/signin" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'username=person%40example.invalid&password=synthetic-password&csrf-token=synthetic-csrf-token'
{  "tsv_state": "synthetic-state",  "next_time_in_secs": 0}