Fetch profile
List project records, configured domains, and account limits.
GET
/v1/profile
Try it Live request
GET https://ext.tiiny.host/v1/profile
Your key is sent directly to Tiiny Host with the request. This page clears the key when you leave.
Authentication
Send x-api-key: <key>. The request has no body and changes no project data.
Example
curl --fail-with-body https://ext.tiiny.host/v1/profile -H "x-api-key: $TIINY_API_KEY"
Success response
{"success":true,"data":{"id":"account-id","email":"owner@example.com","customDomains":["tiiny.site"],"links":[{"subdomain":"example.tiiny.site","filename":"site.zip"}],"maxLinks":5,"maxFileSize":75}}
Field under data |
Type | Use |
|---|---|---|
id, email |
String | Account identity. |
apiKey |
String, when present | Secret. Redact before logging or sharing the response. |
customDomains |
Array of strings | Includes tiiny.site and account-configured custom domains. |
links |
Array of objects | Read subdomain for a project’s hostname. Records can include created, filename, siteType, and linkStatus. The list can include trashed projects. |
maxLinks |
Integer | Account project limit. |
maxFileSize |
Number, when present | File-size setting in MiB. |
Use data.links[].subdomain as the domain for Update or Delete. The delete response adds quota fields.
Errors
401 missing key. 403 unknown or API-disabled key. 429 daily rate limit. See Errors and limits.