Syndai Docs

Project test login

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/repos/{repository_id}/test-login

The login web checks sign in with: its username and verify status, never its password or authenticator key. 404 when none is stored.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid
repository_id*string
Formatuuid

Response Body

Request fulfilled, document follows

application/json
  1. response
has_totp*boolean
last_verified_at?|null
username*string
verify_status?string|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/test-login'
Example Response
{  "has_totp": true,  "last_verified_at": "2019-08-24T14:15:22Z",  "username": "string",  "verify_status": "string"}
Was this page helpful?