← BuildKite

Get the current user with BuildKite API

Pipedream makes it easy to connect APIs for BuildKite and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get the current user with the BuildKite API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get the current user with the BuildKite API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get the current user action
    1. Connect your BuildKite account
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Get the current user with BuildKite API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + BuildKite
 
Try it
Get the current user with BuildKite API on New Item in Feed from RSS API
RSS + BuildKite
 
Try it
Get the current user with BuildKite API on New Message from Discord API
Discord + BuildKite
 
Try it
Get the current user with BuildKite API on New Message In Channels from Slack API
Slack + BuildKite
 
Try it
Get the current user with BuildKite API on New Message in Channel from Discord Bot API
Discord Bot + BuildKite
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Get the current user on BuildKite
Description:Returns basic details about the user account that sent the request
Version:0.1.1
Key:buildkite-get-user

Code

// legacy_hash_id: a_1Wiqr1
import { axios } from "@pipedream/platform";

export default {
  key: "buildkite-get-user",
  name: "Get the current user",
  description: "Returns basic details about the user account that sent the request",
  version: "0.1.1",
  type: "action",
  props: {
    buildkite: {
      type: "app",
      app: "buildkite",
    },
  },
  async run({ $ }) {
    return await axios($, {
      url: "https://api.buildkite.com/v2/user",
      headers: {
        Authorization: `Bearer ${this.buildkite.$auth.api_token}`,
      },
    });
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
BuildKitebuildkiteappThis component uses the BuildKite app.

Authentication

BuildKite uses API keys for authentication. When you connect your BuildKite account, Pipedream securely stores the keys so you can easily authenticate to BuildKite APIs in both code and no-code steps.

Get your API token here

About BuildKite

Run fast, secure, and scalable CI pipelines on your own infrastructure