GET /api/v1/users/nickname/available
Checks whether a given nickname is available for registration. Returns a boolean indicating availability.
Authentication​
Optional. No token required.
Request​
Query Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
nickname | string | Yes | The nickname to check availability for |
Example​
curl -X GET "https://intotes.com/api/v1/users/nickname/available?nickname=john_doe"
Response​
200 OK​
{
"available": true
}
Response Fields​
| Field | Type | Description |
|---|---|---|
available | bool | true if the nickname is available, false otherwise |
Errors​
| Status | Code | Description |
|---|---|---|
| 400 | missing_nickname | The nickname query parameter is missing |
| 400 | invalid_nickname | The nickname format is invalid |