Git Accounts

Create Git Account

Create a new Git account.

post/api/v1/gitAccounts

Request

  • Base URL: https://app.coalescesoftware.io
  • URL: https://app.coalescesoftware.io/api/v1/gitAccounts
  • Auth: HTTP bearer

Request body

gitAccountNamestring required

The account name is usually your Coalesce Org name.

gitAuthorEmailstring required

The email of the user making the commits using the version control account. This doesn't have to match the version control provider.

gitAuthorNamestring required

The name of the user making the commits using the version control account. This doesn't have to match the version control provider.

gitUsernamestring required

The username from your version control provider.

gitTokenstring required

The personal access token from your version control provider.

Example request

{
  "gitAuthorEmail": "hello@coalesce.io",
  "gitAuthorName": "Coalesce Support",
  "gitUsername": "coalescecio"
}

Response

The Git account.

Example response

{
  "data": {
    "gitAuthorEmail": "hello@coalesce.io",
    "gitAuthorName": "Coalesce Support",
    "gitUsername": "coalescecio",
    "id": "8734df52-b88e-444a-9595-9884cd214028",
    "createdAt": "2025-02-04T20:52:37.312Z",
    "createdBy": {
      "id": "BGx8EQ1NlLXxMFwFfV5brGgLj813",
      "firstName": "Coalesce",
      "lastName": "Support"
    },
    "updatedAt": "2025-02-04T20:52:37.312Z",
    "updatedBy": {
      "id": "BGx8EQ1NlLXxMFwFfV5brGgLj813",
      "firstName": "Coalesce",
      "lastName": "Support"
    },
    "accountOwner": {
      "id": "BGx8EQ1NlLXxMFwFfV5brGgLj813",
      "firstName": "Coalesce",
      "lastName": "Support"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.