GET
/
scripts
/
config
curl --request GET \
  --url https://api.nango.dev/scripts/config
{
  "providerConfigKey": "<string>",
  "syncs": [
    {
      "id": 123,
      "name": "github-issues",
      "enabled": true,
      "type": "sync",
      "json_schema": {},
      "models": [
        {
          "fields": [
            {
              "array": true,
              "dynamic": true,
              "model": true,
              "name": "<string>",
              "optional": true,
              "tsType": true,
              "union": true,
              "value": "<string>"
            }
          ],
          "isAnon": true,
          "name": "<string>"
        }
      ],
      "sync_type": "full",
      "runs": "every 30 minutes",
      "track_deletes": true,
      "auto_start": true,
      "last_deployed": "2024-02-01T09:09:03.502Z",
      "is_public": true,
      "pre_built": true,
      "version": "0.0.3",
      "attributes": {},
      "input": {},
      "returns": [
        "GithubIssue"
      ],
      "description": "Fetches the Github issues from all a user's repositories.\nDetails: full sync, doesn't track deletes, metadata is not required.\n",
      "scopes": [
        "public_repo"
      ],
      "endpoints": [
        {}
      ],
      "webhookSubscriptions": [
        "<string>"
      ]
    }
  ],
  "actions": [
    {
      "id": 123,
      "name": "github-issues",
      "type": "action",
      "models": [
        {
          "fields": [
            {
              "array": true,
              "dynamic": true,
              "model": true,
              "name": "<string>",
              "optional": true,
              "tsType": true,
              "union": true,
              "value": "<string>"
            }
          ],
          "isAnon": true,
          "name": "<string>"
        }
      ],
      "last_deployed": "2024-02-28T20:16:38.052Z",
      "is_public": false,
      "pre_built": false,
      "version": "4",
      "attributes": {},
      "input": {},
      "returns": {},
      "description": "Fetches the Github issues from all a user's repositories.\nDetails: full sync, doesn't track deletes, metadata is not required.\n",
      "scopes": [
        "public_repo"
      ],
      "endpoints": [
        {}
      ]
    }
  ],
  "on-events": [
    "<string>"
  ],
  "provider": "github"
}

Response

200
application/json
Successfully returned integration scripts config
providerConfigKey
string
syncs
object[]
actions
object[]
on-events
string[]
provider
string
Example:

"github"