---
title: "Create Credential"
method: POST
path: "/api/v1/integrations/credentials"
tags: ["Integration Credentials"]
---

# Create Credential

`POST /api/v1/integrations/credentials`

## Request

- Base URL: `https://api.rebolt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rebolt.ai/api/v1/integrations/credentials`
- Auth: HTTP bearer

## Request body

- CreateCredential
  - `credential_id` string, uuid, required: The unique identifier of the credential
  - `provider_id` string, required: An unique identifier for the provider.
  - `credential_type` 'oauth' | 'form', required: All credential types supported by the integration provider. Values: OAUTH: For OAuth2 based authentication flows. FORM: For form based credentials like database connections, API keys, etc. ...
  - `credential_name` string, required: The name of the credential, used to identify it in the web UI
  - `credential_description` string, nullable
  - `credential_secrets` object, required: The secrets of the credential

## Response `201`

Successful Response

- IntegrationCredentialCard
  - `credential_id` string, uuid, required: The unique identifier of the credential
  - `integration_provider_id` string, required: An unique identifier for the provider.
  - `credential_name` string, required: The name of the credential, used to identify it in the web UI
  - `credential_description` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `created_by` ReducedUserProfile, required
    - `user_id` string, required
    - `first_name` string, required
    - `last_name` string, required
    - `email` string, required
    - `avatar_url` string, nullable, required
    - `is_deleted` boolean, required
  - `updated_by` ReducedUserProfile, required
    - `user_id` string, required
    - `first_name` string, required
    - `last_name` string, required
    - `email` string, required
    - `avatar_url` string, nullable, required
    - `is_deleted` boolean, required
  - `icon` StaticAsset: Represents a static asset like an image or a file.
    - `url` string, nullable
    - `file_path` string, path, nullable
  - `icon_darkmode_variant` StaticAsset: Represents a static asset like an image or a file.
    - `url` string, nullable
    - `file_path` string, path, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `6e68f3c2611b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/rebolt/apis/rebolt-api/changes/api/v1/integrations/credentials/post.md)

---

[API](https://skmtc.dev/rebolt/apis/rebolt-api.md) - [All operations](https://skmtc.dev/rebolt/apis/rebolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rebolt/apis/rebolt-api/revisions/ece6d79b9efa?raw)
