Verify a proxy through itself
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.
apiKeyx-api-key<token>Workspace API key (nrk_…), shown once when created
senderId*string^[0-9a-f]{24}$application/json- body
proxy*|nullDefault Response
application/json- response
check*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" }}'{ "check": { "ok": true, "ip": "string", "country": "string", "at": "2019-08-24T14:15:22Z", "latencyMs": 0, "message": "string" }}Enter the PIN LinkedIn sent POST
**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. Only the email + password login (later) asks for a PIN, so for now every valid body answers 409 `no_pin_pending`. Later also `pin_rejected` and `pin_expired`.
Give a sender a custom proxy PUT
**Access:** an API key (or an org-wide key naming the workspace) with manage on `senders`. Checks the proxy through itself first and saves it only if it passed with an exit IP in the sender's country; the old proxy is freed. 422 with the failure code otherwise: `unreachable`, `auth_failed`, `timeout`, `echo_failed`, `country_mismatch`. 409 `proxy_in_use` (another sender's) or `connect_in_progress`. The password is write-only.