TryzenAPI
Senders

A sender's ambient settings and today's sessions

GET
/v1/senders/{senderId}/ambient

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

Ambient sessions are the browser's human-looking visits (feed, notifications, profiles, 0-2 likes on 1st-degree posts) inside the sender's working hours. available is false without a browser host; pausedReason says why sessions aren't running now (no_browser_host, disabled, disconnected, stopped).

Authorization

apiKey
headerx-api-key<token>

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

Path Parameters

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

Response Body

Default Response

application/json
  1. response
ambient*
Example Request
curl -X GET 'https://api.tryzen.co/v1/senders/string/ambient'
Example Response
{  "ambient": {    "settings": {      "enabled": true,      "likesPerDay": {        "min": 0,        "max": 0      },      "sessionsPerWorkday": {        "min": 0,        "max": 0      },      "sessionsPerOffDay": {        "min": 0,        "max": 0      }    },    "available": true,    "pausedReason": "string",    "today": {      "date": "string",      "sessionsPlanned": 0,      "sessionsDone": 0,      "likes": 0,      "extraSessionsRequested": 0,      "nextSessionAt": "2019-08-24T14:15:22Z"    },    "lastSession": {      "at": "2019-08-24T14:15:22Z",      "outcome": "completed"    }  }}