v61

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-018131,3812.6 MB
Integration Instance Auth Credentials

Create Integration Instance Auth Credential

Creates an auth credential scoped to the given integration instance. Auth credentials are singleton resources that have a 1-to-1 relationship with an integration instance.

An attempt to create subsequent auth credentials for an instance will result in a 409 response.

post/v1/integration-instances/{integrationInstanceId}/auth-credential

Request body

OR
OR
OR

Example request

{
  "config": {
    "code": "Yzk5ZDczMzRlNDEwY",
    "redirect_uri": "https://cloud.konghq.com/us/service-catalog/integrations/pagerduty/oauth"
  }
}

Response

A response containing an integration instance auth credential.

OR
OR
OR

Example response

{
  "id": "4f535923-ec24-456c-b4e5-e67f65c8c208",
  "integration_instance": {
    "id": "772b9caf-ddbc-4f4f-8aa4-8dfbbe420351",
    "name": "aws-lambda-prod",
    "display_name": "AWS (prod)"
  },
  "missing_permissions": [
    {
      "scopes": [
        "incident:read"
      ]
    }
  ],
  "expires_at": "2025-04-01T07:20:50Z",
  "created_at": "2022-11-04T20:10:06.927Z"
}