Prerequisite: Successfully Connecting an Account & then having connectedAccountId.

Local actions utilize credentials from a connected account to securely call specific API endpoints as part of a custom operation.


Get Connected Account

Use this connected account to run your local code to make API calls.


Let’s Check out Response

  "integrationId": "5e8584e4-723c-44ae-907d-20db982b1797",
  "connectionParams": {
    "scope": "admin:org,gist,repo,user",
    "base_url": "",
    "token_type": "bearer",
    "access_token": "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",
    "headers": {
      "Authorization": "Bearer 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"
    "queryParams": {}
  "appUniqueId": "github",
  "id": "1f090d08-3741-4e20-ae47-431be119a664",
  "status": "ACTIVE",
  "createdAt": "2024-03-19T17:26:21.463Z",
  "updatedAt": "2024-03-19T17:26:24.134Z"


Execute Local Code

Connected Account will contain all authentication parameters.

Base URL, Auth header can be injected in an API request.