Support and custom work
Ask TPcopier for help or for custom work, follow the conversation, and pay a quoted bill - the same requests as in the app's Help page. Each request's fields are below.
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/desk # your requests
curl -H "Authorization: Bearer $TPC_KEY" https://tpcopier.com/api/v1/desk/T # one of them, with its messages
Further reading: the OpenAPI Specification our API description follows.
Endpoints in this guide
Base address https://tpcopier.com. Send your key with every request -
Authorization: Bearer tpc_... - up to 120 requests a minute. Open an endpoint for its fields,
its answers and an example.
GET/api/v1/desk/orders/{ref}Order Status
Parameters
| ref * | path | string |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/orders/{ref}"GET/api/v1/deskRequests
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk"POST/api/v1/deskNew Request
Request body
{
"kind": "custom",
"area": "",
"subject": "",
"body": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"kind": "custom", "area": "", "subject": "", "body": ""}' \
"https://tpcopier.com/api/v1/desk"POST/api/v1/desk/account/{aid}Account Help
One tap on the Bridge or the copier: this account does not connect.
Parameters
| aid * | path | integer |
Request body
{
"said": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"said": ""}' \
"https://tpcopier.com/api/v1/desk/account/{aid}"GET/api/v1/desk/{tid}Request
Parameters
| tid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}"POST/api/v1/desk/{tid}/messagesMessage
Parameters
| tid * | path | integer |
Request body
{
"body": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"body": ""}' \
"https://tpcopier.com/api/v1/desk/{tid}/messages"POST/api/v1/desk/{tid}/filesFiles
A message with attached files (pictures, documents, logs - any kind).
Parameters
| tid * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}/files"GET/api/v1/desk/{tid}/files/{mid}/{i}File
Parameters
| tid * | path | integer |
| mid * | path | integer |
| i * | path | integer |
Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -H "Authorization: Bearer $TPC_KEY" \
"https://tpcopier.com/api/v1/desk/{tid}/files/{mid}/{i}"POST/api/v1/desk/{tid}/actionAction
Parameters
| tid * | path | integer |
Request body
{
"action": "",
"note": ""
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"action": "", "note": ""}' \
"https://tpcopier.com/api/v1/desk/{tid}/action"POST/api/v1/desk/bills/{bid}/payPay Bill
Parameters
| bid * | path | integer |
Request body
{
"accept_no_refund": false,
"method": "binance"
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"accept_no_refund": false, "method": "binance"}' \
"https://tpcopier.com/api/v1/desk/bills/{bid}/pay"POST/api/v1/desk/bills/{bid}/transferReport Transfer
Parameters
| bid * | path | integer |
Request body
{
"tx_ref": "",
"network": "",
"accept_no_refund": false
}Responses
200 Successful Response · 422 Validation Error · 401 402 403 429 - see Errors
Example
curl -X POST -H "Authorization: Bearer $TPC_KEY" -H "Content-Type: application/json" \
-d '{"tx_ref": "", "network": "", "accept_no_refund": false}' \
"https://tpcopier.com/api/v1/desk/bills/{bid}/transfer"