/v1/gtm/channel-inventoryAPI keyRead sending inventory
Read which connected accounts can send, and the channels each account executive can reach people through.
An account executive with no send channels is listed with an empty list: a plan for them cannot execute, and nothing sends from another person's account in their place.
curl -X GET "https://runlogai.com/runlogapi/gtm/channel-inventory" \
-H "Authorization: Bearer $RUNLOG_API_KEY" \
-H "X-Project-Id: p7Kd2mQx"{
"aes": [
{
"name": "Priya",
"sendChannels": [
"linkedin",
"gmail"
],
"uid": "u_9Kd2Lm"
}
],
"entries": [
{
"capabilities": [
"send",
"read"
],
"channel": {
"channelName": "linkedin",
"inmailCreditsRemaining": 18,
"isConnected": true,
"linkedinTier": "sales_nav"
},
"sendCapable": true
}
]
}Errors
| Status | error | When |
|---|---|---|
| 404 | project not found | The project does not exist, or you have no access to it. Projects are non-enumerable, so a denied read is indistinguishable from a missing one. |
| 401 | invalid API key | The `Authorization` header is missing, malformed, or names a revoked key. |
| 400 | name the target project via the X-Project-Id header or projectId query | No project was named and the key is not bound to one. |
| 429 | rate limit exceeded | You passed 60 requests/minute on this key. `Retry-After` carries the seconds to wait. |
| 500 | internal error | The relay failed to serve the request. Retry with backoff; the cause is logged server-side against your request. |