What a claim would meet now.
Says whether a username or referral code could be claimed now. It holds nothing back for the caller.
/v1/me/handles/checksessionAPI key · cookierequiredAn opaque, revocable INVICTUS session set by createSession.
kindstringrequiredA username or a referral code.
usernamecodevaluestringrequiredThe value to check.
X-Telegram-UserstringWith the service credential: the linked Telegram user the call acts for.
Success.
kindstringrequiredA username or a referral code.
usernamecodevaluestringrequiredThe value checked.
statestringrequiredWhat a claim would meet now: available, already yours, taken, reserved, or invalid.
availableyourstakenreservedinvalidInvalid input; errors names the fields.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
No session, or it ended.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Too many requests; retryAfterSeconds says when to ask again.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
Server error.
typestring<uri-reference>requiredA URI reference naming the problem type; about:blank when only the status says it.
titlestringrequiredA short summary of the problem type, the same for every occurrence.
statusintegerrequiredThe HTTP status code of this answer.
detailstringWhat went wrong this time, for a person to read.
instancestring<uri-reference>A URI reference of this occurrence, quoted to support.
codestringrequiredWhat a client branches on, stable across releases.
retryAfterSecondsintegerSeconds to wait before asking again, on 429 and 503; the Retry-After header agrees.
errorsobject[]The fields that were refused, on 400.
Show propertiesHide properties
objectfieldstringrequiredThe refused field, as a JSON path into the request.
codestringrequiredWhy it was refused, stable across releases.
messagestringThe reason, for a person to read.
