Authentication | Required |
HTTP Method | POST |
API Url | https://smpanal.com/api/v3 |
Response | JSON |
Through the command, you activate the automatic start number.
Parameters | Description |
---|---|
apikay | Your Admin API key |
action | start_cunt |
idservices | Service id |
services | Service name get start number |
{ "success": "Value updated successfully" }
{ "error": "Service not found" }
Through this command you can retrieve all cookies
Parameters | Description |
---|---|
key | Your Admin API key |
action | data |
[ { "ID": "2", "platform": "facebook", "Username": "61557207143957", "Password": "Zeze", "Country": "Egypt", "Cookies": "********", "Status": "working", "name": "Diaa Diaa", "gender": "MALE", "photo": "https://raedlibya.online/images/e114c448f4ab8554ad14eff3d66dfeb3965ce8fc.png", "Type": "page", "urlprofile": "https://www.facebook.com/profile.php?id=61557207143957", "main_id": "1" }, { "ID": "3", "platform": "facebook", "Username": "61556998202386", "Password": "Zeze", "Country": "Egypt", "Cookies": "********", "Status": "working", "name": "Salah Nizar", "gender": "MALE", "photo": "https://raedlibya.online/images/e114c448f4ab8554ad14eff3d66dfeb3965ce8fc.png", "Type": "page", "urlprofile": "https://www.facebook.com/profile.php?id=61556998202386", "main_id": "1" }]
Update multiple orders
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
orders | Array updated orders items |
Updated order item
Parameters | Description |
---|---|
id | Updated order ID |
status |
Order status (optional)
|
start_count | Order start count (optional) |
remains | Order remains (optional) |
Updated orders request body example
{ "key": "your-api-key", "action": "updateOrders", "orders": [ { "id": "1", "status": "in progress" }, { "id": "2", "status": "in progress", "start_count": "22" }, { "id": "3", "status": "processing" }, { "id": "4", "status": "canceled" }, { "id": "5", "status": "partial", "remains": "33" }, { "id": "6", "status": "completed" }, { "id": "7", "start_count": "44" }, { "id": "8", "remains": "55" } ] }
Response | Value |
---|---|
status | Whether or not the request succeeded |
orders | Array of updated orders result |
error |
bad_order_list - incorrect updated orders array internal_error - internal error |
{ "status": "success", "orders": { "1": { "status": "success" }, "2": { "status": "success" }, "3": { "status": "success" }, "4": { "status": "fail", "error": "bad_id" }, "5": { "status": "success" }, "6": { "status": "fail", "error": "no_orders" }, "7": { "status": "success" }, "8": { "status": "success" } } }
{ "status":"fail", "error":"bad_order_list" }
Setting start count for an order. After success request order status for that order will be changed to In Progress.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
start_count (optional) | Start count |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key bad_start_count - incorrect Start count |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
After success request order status for that order will be changed to Processing.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting start count for an order. After success request order status for that order will be changed to In Progress.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
start_count | Start count |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key bad_start_count - incorrect Start count |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Number of comments.
Parameters | Description |
---|---|
URl | https://www.mediapanal.store/commentcount |
fplink | https://www.facebook.com/user/posts/id |
type | post & Reels |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
error - Data not found. |
{ "Post ID": "985547983148705", "Comment Count": "414" }
{ "error": "Data not found." }
Setting Partially completed status for an order and refunding balance for remains quantity.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
remains | Remains quantity |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key bad_remains - incorrect remains quantity |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting Completed status for an order.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting Remains quantity value for an order.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
id | Order id |
remains | Remains quantity |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect order id bad_auth - incorrect API key bad_remains - incorrect remains quantity |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Gives one pending refill task. After a successful request the task status will be changed to Awaiting.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
service_id | Service ID (optional) |
Response | Value |
---|---|
status | Whether or not the request succeeded |
refill | Refill task id |
order_id | Order id |
current_count | Current count |
service_id | Service id |
link | Order link |
start_count | Start count |
quantity | Order quantity |
error |
bad_auth - incorrect API key no_task - there is not pending tasks |
{ "status":"success", "id":"1023", "order_id":"29387", "current_count":"1", "service_id":"12", "link":"https://facebook.com/test", "start_count":"12", "quantity":"100", }
{ "status":"fail", "error":"bad_id" }
Gives one pending cancel task for a manual service. After success request cancel-task status will be changed to Awaiting.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
service_id | Service ID (optional) |
Response | Value |
---|---|
status | Whether or not the request succeeded |
cancel | Cancel task id |
order_id | Order id |
service_id | Service id |
link | Order link |
error |
bad_auth - incorrect API key task_not_found - there is not pending tasks |
{ "status":"success", "cancel":"1023", "order_id":"29387", "service_id":"12", "link":"https://facebook.com/test" }
{ "status":"fail", "error":"task_not_found" }
Setting Completed status for a refill task.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
refill | Refill task id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect task id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting Rejected status for a refill task.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
refill | Refill task id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect task id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting In Progress status for a refill task.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
refill | Refill task id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect task id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting Rejected status for a cancel task.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
cancel | Cancel task id |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_id - incorrect task id bad_auth - incorrect API key |
{ "status":"success" }
{ "status":"fail", "error":"bad_id" }
Setting Completed status for a payment.
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
username / id | Username or ID |
amount | Amount |
details | Details |
affiliate_commission | Has the value = 1 if it's needed to take the payment in the affiliate commission or the value = 0 otherwise. |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_username - user not found |
{ "status":"success" }
{ "status":"fail", "error":"bad_username" }
Create new ticket
Parameters | Description |
---|---|
key | Your Admin API key |
action | Method name |
username | Username |
subject | Subject |
message | Message |
Response | Value |
---|---|
status | Whether or not the request succeeded |
error |
bad_username - user not found bad_subject - subject is not valid bad_message - message is not valid |
{ "status":"success" }
{ "status":"fail", "error":"bad_username" }