POST
/
integrations
/
github
curl --request POST \
  --url https://api.carbon.ai/integrations/github \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "username": "<string>",
  "access_token": "<string>",
  "sync_source_items": true
}'
{
  "success": true
}

Authorizations

authorization
string
headerrequired

token <token>, corresponds to temporary access tokens.

Body

application/json
username
string
required
access_token
string
required
sync_source_items
boolean
default: false

Enabling this flag will fetch all available content from the source to be listed via list items endpoint

Response

200 - application/json
success
boolean
required