Admin — Content & Reviews
Blog posts, FAQs, product reviews, buyer messages, newsletter subscribers, and URL redirects.
Every live FAQ in display order (at most 200 per store).
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
status?string"draft""active"OK
application/json- response
items*array<>curl -X GET 'https://api.devhelp.pk/admin/v1/faqs'{ "items": [ { "question": "string", "answer": "string", "group": "string", "status": "draft", "id": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Adds a question at the end of the list.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
question*stringanswer*stringgroup*string|nullstatus*string"draft""active"OK
application/json- response
question*stringanswer*stringgroup*string|nullstatus*string"draft""active"id*stringposition*numbercreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/faqs' \ -H 'Content-Type: application/json' \ -d '{ "question": "string", "answer": "string", "group": "string", "status": "draft"}'{ "question": "string", "answer": "string", "group": "string", "status": "draft", "id": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
question*stringanswer*stringgroup*string|nullstatus*string"draft""active"id*stringposition*numbercreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X GET 'https://api.devhelp.pk/admin/v1/faqs/string'{ "question": "string", "answer": "string", "group": "string", "status": "draft", "id": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/faqs/string'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
question*stringanswer*stringgroup*string|nullstatus*string"draft""active"OK
application/json- response
question*stringanswer*stringgroup*string|nullstatus*string"draft""active"id*stringposition*numbercreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X PUT 'https://api.devhelp.pk/admin/v1/faqs/string' \ -H 'Content-Type: application/json' \ -d '{ "question": "string", "answer": "string", "group": "string", "status": "draft"}'{ "question": "string", "answer": "string", "group": "string", "status": "draft", "id": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Sets the display order. ids must list every live FAQ exactly once.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
ids*array<string>OK
application/json- response
items*array<>curl -X POST 'https://api.devhelp.pk/admin/v1/faqs/reorder' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "string" ]}'{ "items": [ { "question": "string", "answer": "string", "group": "string", "status": "draft", "id": "string", "position": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringq?stringcategoryId?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/blog'{ "items": [ { "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string", "id": "string", "status": "draft", "publishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringfeaturedImageId*string|nullcategoryIds*array<string>tags*array<string>seoTitle*string|nullseoDescription*string|nullseoImageId*string|nullOK
application/json- response
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringfeaturedImageId*string|nullcategoryIds*array<string>tags*array<string>seoTitle*string|nullseoDescription*string|nullseoImageId*string|nullid*stringstatus*string"draft""published""deleted"publishedAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/blog' \ -H 'Content-Type: application/json' \ -d '{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string"}'{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string", "id": "string", "status": "draft", "publishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringfeaturedImageId*string|nullcategoryIds*array<string>tags*array<string>seoTitle*string|nullseoDescription*string|nullseoImageId*string|nullid*stringstatus*string"draft""published""deleted"publishedAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X GET 'https://api.devhelp.pk/admin/v1/blog/string'{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string", "id": "string", "status": "draft", "publishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/blog/string'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
payload*OK
application/json- response
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringfeaturedImageId*string|nullcategoryIds*array<string>tags*array<string>seoTitle*string|nullseoDescription*string|nullseoImageId*string|nullid*stringstatus*string"draft""published""deleted"publishedAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X PUT 'https://api.devhelp.pk/admin/v1/blog/string' \ -H 'Content-Type: application/json' \ -d '{ "payload": { "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string" }}'{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string", "id": "string", "status": "draft", "publishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
handle*stringtitle*stringbody*stringexcerpt*stringauthorName*stringfeaturedImageId*string|nullcategoryIds*array<string>tags*array<string>seoTitle*string|nullseoDescription*string|nullseoImageId*string|nullid*stringstatus*string"draft""published""deleted"publishedAt*|nullcreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/blog/string/publish'{ "handle": "string", "title": "string", "body": "string", "excerpt": "string", "authorName": "string", "featuredImageId": "string", "categoryIds": [ "string" ], "tags": [ "string" ], "seoTitle": "string", "seoDescription": "string", "seoImageId": "string", "id": "string", "status": "draft", "publishedAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/admin/v1/blog/string/unpublish'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/blog-categories'{ "items": [ { "name": "string", "handle": "string", "id": "string" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
name*stringhandle*stringOK
application/json- response
name*stringhandle*stringid*stringcurl -X POST 'https://api.devhelp.pk/admin/v1/blog-categories' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "handle": "string"}'{ "name": "string", "handle": "string", "id": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/blog-categories/string'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
name*stringhandle*stringOK
application/json- response
name*stringhandle*stringid*stringcurl -X PUT 'https://api.devhelp.pk/admin/v1/blog-categories/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "handle": "string"}'{ "name": "string", "handle": "string", "id": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringstatus?string"pending""approved""rejected"productId?stringq?stringrating?numberwithPhotos?booleannotReplied?booleanheld?booleanOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/reviews'{ "items": [ { "displayName": "string", "rating": 0, "title": "string", "body": "string", "id": "string", "productId": "string", "verifiedPurchase": true, "reply": "string", "variantTitle": "string", "fit": "small", "city": "string", "photos": [ { "id": "string", "url": "string", "width": 0, "height": 0, "hidden": true } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "showCity": true, "holdReason": "contact_details", "publishAt": "2019-08-24T14:15:22Z", "publishedAt": "2019-08-24T14:15:22Z", "hideReason": "personal_details", "orderId": "string", "orderLineId": "string", "status": "pending", "revision": 0, "moderationReason": "string", "product": { "id": "string", "title": "string", "imageUrl": "string" } } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringphotoId*stringapplication/json- body
hidden*booleanOK
application/json- response
displayName*stringrating*numbertitle*stringbody*stringid*stringproductId*stringverifiedPurchase*unknownreply*string|nullvariantTitle*string|nullfit*|nullcity*string|nullphotos*array<>createdAt*stringdate-timeupdatedAt*stringdate-timeshowCity*booleanholdReason*|nullpublishAt*|nullpublishedAt*|nullhideReason*|nullorderId*stringorderLineId*stringstatus*string"pending""approved""rejected""deleted"revision*numbermoderationReason*string|nullcurl -X PUT 'https://api.devhelp.pk/admin/v1/reviews/string/photos/string' \ -H 'Content-Type: application/json' \ -d '{ "hidden": true}'{ "displayName": "string", "rating": 0, "title": "string", "body": "string", "id": "string", "productId": "string", "verifiedPurchase": true, "reply": "string", "variantTitle": "string", "fit": "small", "city": "string", "photos": [ { "id": "string", "url": "string", "width": 0, "height": 0, "hidden": true } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "showCity": true, "holdReason": "contact_details", "publishAt": "2019-08-24T14:15:22Z", "publishedAt": "2019-08-24T14:15:22Z", "hideReason": "personal_details", "orderId": "string", "orderLineId": "string", "status": "pending", "revision": 0, "moderationReason": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
OK
application/json- response
pending*numberapproved*numberrejected*numberaverage*number|nullreplied*numbercurl -X GET 'https://api.devhelp.pk/admin/v1/reviews/stats'{ "pending": 0, "approved": 0, "rejected": 0, "average": 0, "replied": 0}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/reviews/string'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
revision*numberstatus*string"pending""approved""rejected"hideReason?string"personal_details""abusive""off_topic""spam""other"reason?stringreply*string|nullOK
application/json- response
displayName*stringrating*numbertitle*stringbody*stringid*stringproductId*stringverifiedPurchase*unknownreply*string|nullvariantTitle*string|nullfit*|nullcity*string|nullphotos*array<>createdAt*stringdate-timeupdatedAt*stringdate-timeshowCity*booleanholdReason*|nullpublishAt*|nullpublishedAt*|nullhideReason*|nullorderId*stringorderLineId*stringstatus*string"pending""approved""rejected""deleted"revision*numbermoderationReason*string|nullcurl -X PUT 'https://api.devhelp.pk/admin/v1/reviews/string' \ -H 'Content-Type: application/json' \ -d '{ "revision": 0, "status": "pending", "reply": "string"}'{ "displayName": "string", "rating": 0, "title": "string", "body": "string", "id": "string", "productId": "string", "verifiedPurchase": true, "reply": "string", "variantTitle": "string", "fit": "small", "city": "string", "photos": [ { "id": "string", "url": "string", "width": 0, "height": 0, "hidden": true } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "showCity": true, "holdReason": "contact_details", "publishAt": "2019-08-24T14:15:22Z", "publishedAt": "2019-08-24T14:15:22Z", "hideReason": "personal_details", "orderId": "string", "orderLineId": "string", "status": "pending", "revision": 0, "moderationReason": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringstatus?string"queued""sending""sent""due""skipped""failed"OK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/reviews/requests'{ "items": [ { "id": "string", "orderId": "string", "orderNumber": 0, "buyerName": "string", "status": "queued", "channel": "email", "skipReason": "turned_off", "dueReason": "no_email", "sentAt": "2019-08-24T14:15:22Z", "remindedAt": "2019-08-24T14:15:22Z", "reviews": 0, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
OK
application/json- response
sent*numberreviewed*numberdue*numbercurl -X GET 'https://api.devhelp.pk/admin/v1/reviews/requests/stats'{ "sent": 0, "reviewed": 0, "due": 0}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
OK
application/json- response
requestsEnabled*booleanrequestDelayDays*numberreminderDelayDays*number|nullpublishMode*string"manual""reply_window""immediate"replyWindowHours*numberholdContactDetails*booleanblockedWords*array<string>fitQuestion*booleancurl -X GET 'https://api.devhelp.pk/admin/v1/review-settings'{ "requestsEnabled": true, "requestDelayDays": 0, "reminderDelayDays": 0, "publishMode": "manual", "replyWindowHours": 0, "holdContactDetails": true, "blockedWords": [ "string" ], "fitQuestion": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
requestsEnabled?booleanrequestDelayDays?numberreminderDelayDays?number|nullpublishMode?string"manual""reply_window""immediate"replyWindowHours?numberholdContactDetails?booleanblockedWords?array<string>fitQuestion?booleanOK
application/json- response
requestsEnabled*booleanrequestDelayDays*numberreminderDelayDays*number|nullpublishMode*string"manual""reply_window""immediate"replyWindowHours*numberholdContactDetails*booleanblockedWords*array<string>fitQuestion*booleancurl -X PUT 'https://api.devhelp.pk/admin/v1/review-settings' \ -H 'Content-Type: application/json' \ -d '{}'{ "requestsEnabled": true, "requestDelayDays": 0, "reminderDelayDays": 0, "publishMode": "manual", "replyWindowHours": 0, "holdContactDetails": true, "blockedWords": [ "string" ], "fitQuestion": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringq?stringstatus?string"open""resolved""archived"unread?booleanOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/messages'{ "items": [ { "name": "string", "email": "string", "phone": "string", "subject": "string", "body": "string", "id": "string", "status": "open", "readAt": "2019-08-24T14:15:22Z", "consentAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
name*stringemail*stringphone*stringsubject*stringbody*stringid*stringstatus*string"open""resolved""deleted"readAt*|nullconsentAt*stringdate-timecreatedAt*stringdate-timeupdatedAt*stringdate-timenotes*array<>curl -X GET 'https://api.devhelp.pk/admin/v1/messages/string'{ "name": "string", "email": "string", "phone": "string", "subject": "string", "body": "string", "id": "string", "status": "open", "readAt": "2019-08-24T14:15:22Z", "consentAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "notes": [ { "id": "string", "body": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/messages/string'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
read*booleanstatus*string"open""resolved"OK
application/json- response
updated*unknowncurl -X PUT 'https://api.devhelp.pk/admin/v1/messages/string' \ -H 'Content-Type: application/json' \ -d '{ "read": true, "status": "open"}'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
body*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/admin/v1/messages/string/notes' \ -H 'Content-Type: application/json' \ -d '{ "body": "string"}'{ "updated": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
updated*unknowncurl -X POST 'https://api.devhelp.pk/admin/v1/messages/string/restore'{ "updated": true}Pass kind to list only newsletter sign-ups or only back-in-stock requests; the counts always cover both.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
kind?string"newsletter""back_in_stock"OK
application/json- response
newsletter*numberbackInStock*numbersubscribers*array<>curl -X GET 'https://api.devhelp.pk/admin/v1/engagement'{ "newsletter": 0, "backInStock": 0, "subscribers": [ { "id": "string", "kind": "newsletter", "email": "string", "productTitle": "string", "status": "active", "createdAt": "2019-08-24T14:15:22Z" } ]}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
id*stringkind*string"newsletter""back_in_stock"OK
application/json- response
unsubscribed*unknowncurl -X POST 'https://api.devhelp.pk/admin/v1/engagement/unsubscribe' \ -H 'Content-Type: application/json' \ -d '{ "id": "string", "kind": "newsletter"}'{ "unsubscribed": true}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
limit?number24cursor?stringq?stringOK
application/json- response
items*array<>nextCursor*string|nullcurl -X GET 'https://api.devhelp.pk/admin/v1/redirects'{ "items": [ { "id": "string", "fromPath": "string", "toPath": "string", "statusCode": 301, "automatic": true, "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
fromPath*stringtoPath*stringstatusCode?|301OK
application/json- response
id*stringfromPath*stringtoPath*stringstatusCode*unknown|unknownautomatic*booleanstatus*string"active""deleted"createdAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://api.devhelp.pk/admin/v1/redirects' \ -H 'Content-Type: application/json' \ -d '{ "fromPath": "string", "toPath": "string"}'{ "id": "string", "fromPath": "string", "toPath": "string", "statusCode": 301, "automatic": true, "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringapplication/json- body
fromPath?stringtoPath?stringstatusCode?unknown|unknownOK
application/json- response
id*stringfromPath*stringtoPath*stringstatusCode*unknown|unknownautomatic*booleanstatus*string"active""deleted"createdAt*stringdate-timeupdatedAt*stringdate-timecurl -X PATCH 'https://api.devhelp.pk/admin/v1/redirects/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "fromPath": "string", "toPath": "string", "statusCode": 301, "automatic": true, "status": "active", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
id*stringOK
application/json- response
id*stringdeleted*unknowncurl -X DELETE 'https://api.devhelp.pk/admin/v1/redirects/string'{ "id": "string", "deleted": true}Up to 5,000 rows. Only adds: existing manual redirects are never replaced, and automatic ones only with replaceAutomatic. dryRun reports per-row outcomes without writing.
secretKeyx-api-key<token>Admin secret API key (dh_sk_live_…). Keep server-side only; never expose in browser code. Also accepted as Authorization: Bearer.
application/json- body
rows*array<>dryRun*booleanreplaceAutomatic?booleanfalseOK
application/json- response
rows*array<>created*numberskipped*numbercurl -X POST 'https://api.devhelp.pk/admin/v1/redirects/import' \ -H 'Content-Type: application/json' \ -d '{ "rows": [ { "fromPath": "string", "toPath": "string" } ], "dryRun": true}'{ "rows": [ { "index": 0, "fromPath": "string", "toPath": "string", "statusCode": 301, "outcome": "create", "message": "string" } ], "created": 0, "skipped": 0}