メインコンテンツへスキップ
GET
/
event-streams
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.eventStreams.list({
        from: "from",
        take: 1,
    });
}
main();
{
  "eventStreams": [
    {
      "id": "<string>",
      "name": "<string>",
      "subscriptions": [
        {
          "event_type": "<string>"
        }
      ],
      "destination": {
        "type": "webhook",
        "configuration": {
          "webhook_endpoint": "<string>",
          "webhook_authorization": {
            "method": "basic",
            "username": "<string>"
          }
        }
      },
      "status": "enabled",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of results per page. Defaults to 50.

必須範囲: 1 <= x <= 100

レスポンス

Event streams successfully retrieved.

eventStreams
object[]
next
string

Opaque identifier for use with the from query parameter for the next page of results.