API ReferenceapicommsPOST /v1/stream/feeds-token

POST /v1/stream/feeds-token

Service: comms · operationId: (none)

Mint a user-scoped Stream Feeds token for the authenticated user.

Required scopes

(no scope declared — review service config)

Responses

200 Stream Feeds token

{
  "type": "object",
  "properties": {
    "token": {
      "type": "string"
    },
    "user_id": {
      "type": "string"
    }
  },
  "required": [
    "token",
    "user_id"
  ]
}

503 Stream Feeds not configured

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "error",
    "message"
  ]
}

Example

curl -X POST https://comms.platform.loop.health/v1/stream/feeds-token \
  -H "Authorization: Bearer $ACCESS_TOKEN"