TryzenAPI
Senders

Verify a proxy through itself

POST
/v1/senders/{senderId}/proxy/verify

Access: an API key (or an org-wide key naming the workspace) with manage on senders.

proxy: null checks the sender's stored proxy and stores the result on it; a typed proxy is checked before it is saved (nothing is stored). The check runs on a driver worker through the proxy, never from the API. check.ok: false is an answer with the reason in check.message. The password is write-only: encrypted before it leaves this request, never returned. 409 proxy_missing for proxy: null without a proxy.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

senderId*string
Match^[0-9a-f]{24}$

Request Body

application/json
  1. body
proxy*|null

Response Body

Default Response

application/json
  1. response
check*
Example Request
curl -X POST 'https://api.tryzen.co/v1/senders/string/proxy/verify' \  -H 'Content-Type: application/json' \  -d '{  "proxy": {    "protocol": "http",    "host": "string",    "port": 1,    "username": "string",    "password": "string"  }}'
Example Response
{  "check": {    "ok": true,    "ip": "string",    "country": "string",    "at": "2019-08-24T14:15:22Z",    "latencyMs": 0,    "message": "string"  }}