Users API
1 operation. Authentication, errors and pagination work as described in the REST API overview.
A public profile
GET/api/v1/users/{handle}Token optional
A renamed handle answers 301 to the new path.
| Name | Type | Description |
|---|---|---|
handle pathrequired | string | User handle (with or without @) |
Responses: 200 OK301, 400, 404, 429
Response fields
| Name | Type | Description |
|---|---|---|
idrequired | string | |
handlerequired | string | |
displayNamerequired | string | null | |
biorequired | string | null | |
websiteUrlrequired | string | null | |
githubLoginrequired | string | null | |
avatarUrlrequired | string | null | |
rolerequired | string | |
urlrequired | string | |
createdAtrequired | string | |
followerCountrequired | number | |
followingCountrequired | number | |
promptCountrequired | number | |
badgesrequired | object[] |
Example
curl 'https://incantory.ai/api/v1/users/{handle}' \
-H "Authorization: Bearer $INCANTORY_TOKEN"