ai
POST
https://linkyhub.net/api/v3 /ai/bio Scope ai:generateDraft bios, calls to action and improvements. Nothing is saved; apply a bio with profile.update.
Request body
application/json
namestringrequiredindustrystringrequiredaudiencestringrequiredtonestringrequiredcontextstring{
"name": "string",
"industry": "string",
"audience": "string",
"tone": "professional",
"context": "string"
}Code samples
cURL
curl -X POST "https://linkyhub.net/api/v3/ai/bio" \
-H "Authorization: Bearer $LINKYHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","industry":"string","audience":"string","tone":"professional","context":"string"}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Example
{
"error": "string",
"message": "string"
}Schema
errorstringrequiredA stable code to branch on, e.g. insufficient_scope.
messagestringrequiredA sentence to show a person.
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
POST
https://linkyhub.net/api/v3 /ai/optimize Scope ai:generateReview the creator’s page and suggest improvements. Nothing is changed.
Code samples
cURL
curl -X POST "https://linkyhub.net/api/v3/ai/optimize" \
-H "Authorization: Bearer $LINKYHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Done.
{}Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · POST /ai/bio
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
Updated