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 the x-api-key header. This request takes no body.
Example
curl --fail-with-body https://ext.tiiny.host/v1/profile \
-H "x-api-key: $TIINY_API_KEY"
Success response
200 OK returns success: true and a data object. Read data.links[].subdomain to find the hostname to pass to Update or Delete. Project records can include trashed projects, creation timestamps, filenames, and project types.
{
"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 | Description |
|---|---|
id, email |
Account identifier and email. |
apiKey |
May be present. Treat the response as sensitive and redact this field before logging. |
customDomains |
tiiny.site and custom domains configured for the account. |
links |
Array of project objects. Read subdomain for the project hostname. |
maxLinks, maxFileSize |
Project count and, when available, file-size setting in MiB. |
Delete a project also returns the post-delete quota fields.
Errors
A missing key returns 401. A key without API access returns 403. The rate-limit response is 429. See Errors and limits.