GamebeastDocs
Dashboard
Project APIMarker sinks

List marker sinks

GET
/application/{applicationId}/marker-sinks/

The project's sinks in this environment, by name, with their last 24 hours of deliveries.

Authorization

personalAccessTokenAuth
AuthorizationBearer <token>

Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

applicationId*number

Gamebeast project ID

Header Parameters

environment_id*number

Gamebeast environment ID

Response Body

application/json

curl -X GET "https://example.com/application/0/marker-sinks/" \  -H "environment_id: 0"
{  "sinks": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "applicationId": -9007199254740991,      "environmentId": -9007199254740991,      "name": "string",      "markerTypes": [        "string"      ],      "destination": {        "type": "contact_point",        "contactPointId": "cf5dfe85-f4ff-4283-a8be-b72a98cc01a9"      },      "template": {        "kind": "default"      },      "ratePerSec": -9007199254740991,      "state": "active",      "suspendReason": "volume",      "stateChangedAt": "2019-08-24T14:15:22Z",      "last24h": {        "matched": 0,        "delivered": 0,        "failed": 0,        "dropped": 0      },      "createdBy": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}