Description will show here
This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include a x-api-key header with the value "{YOUR_API_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
curl --request GET \
--get "https://hunnt.ai/api/v1/site/healthy-report" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Accept-Language: {string} Optional. Language preference (en|ar). Default: en" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"success": false,
"message": "Invalid API key",
"errors": [
"Invalid API key"
]
}
This endpoint allows clients to submit their existing articles for AI-powered improvement
curl --request POST \
"https://hunnt.ai/api/v1/article/improve" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Authorization: Bearer {token} Required. Client authentication token" \
--header "Accept-Language: {string} Optional. Language preference (en|ar). Default: en" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"articles_list\": [
\"consequatur\"
]
}"
{
"success": true,
"message": "Data Saved with session id: sess_abc123,sess_abc124",
"data": {
"post_ids": [
123,
456
]
}
}
curl --request POST \
"https://hunnt.ai/api/v1/article/generate" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Accept-Language: {string} Optional. Language preference (en|ar). Default: en" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"articles_list\": [
{
\"number_of_articles\": 15,
\"language\": \"en\"
}
]
}"
{
"success": true,
"message": "Articles is generating",
"data": []
}
The article ID from your CMS/platform.
curl --request GET \
--get "https://hunnt.ai/api/v1/article/restore?article_id=123" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Accept-Language: {string} Optional. Language preference (en|ar). Default: en" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"success": true,
"message": "Article restored successfully",
"data": {
"article": {
"article_title": "SEO Best Practices 2025",
"article_content": "<p>This is the original article content before improvement...</p>",
"article_slug": "seo-best-practices-2025",
"language": "en",
"categories": [
"SEO",
"Marketing",
"Digital"
]
}
}
}
curl --request POST \
"https://hunnt.ai/api/v1/agency/article/generate" \
--header "x-api-key: {YOUR_API_KEY}" \
--header "Accept-Language: {string} Optional. Language preference (en|ar). Default: en" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"publish_type\": \"manual\",
\"articles\": [
{
\"language\": \"en\",
\"number_of_articles\": 15
},
{
\"language\": \"ar\",
\"number_of_articles\": 10
}
],
\"start_date\": \"2025-03-01\",
\"start_time\": \"10:00\",
\"repeat_days\": 7,
\"publish_datetime\": {
\"en\": [
\"2025-03-01 10:00:00\",
\"2025-03-08 10:00:00\"
],
\"ar\": [
\"2025-03-02 14:00:00\"
]
}
}"
{
"success": true,
"message": "Articles is generating",
"data": []
}