SDK Apps > Modules

List App Modules

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Responses
chevron-right
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules
200

Successful response

Create Module

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Body
namestringRequired
typeIdinteger · enumRequired

Module type id. Allowed values:

  • 1 = TRIGGER (Trigger - polling) Use if you wish to watch for any changes in your app/service. Examples are Watch a New Book, which will be triggered whenever a new book has been added to the library.
  • 4 = ACTION Use if the API endpoint returns a single response. Examples are Create a book, Delete a book or Get a Book.
  • 9 = SEARCH Use if the API endpoint returns multiple items. An example is List Books that will find specific books according to search criteria.
  • 10 = CONVERGER (Instant Trigger / webhook) Use if the API endpoint has a webhook available (dedicated or shared). Example is Watch a New Event.
  • 11 = HITL (Responder) Use if you need to send a processed data back to a webhook.
  • 12 = RETURNER (Universal) Use if you want to enable users to perform an arbitrary API call to the service. Examples are Make an API Call and Execute a GraphQL Query.
Default: 4Possible values:
labelstringOptional
descriptionstringOptional
moduleInitModestring · enumOptional

Module init mode:

  • blank - Creates a new blank module (code is empty).
  • example - Creates a module from a model app (which contains the example codes).
  • module - Creates module from existing user's module.
Default: blankPossible values:
moduleInitSourcestringOptional

Required when moduleInitMode is module. Specifies the name of the source module to clone.

connectionstring | nullableOptional

The name of the connection to use.

webhookstring | nullableOptional

The name of the webhook to use.

crudstring | nullableOptional

The CRUD operation type.

Responses
chevron-right
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules
200

Successful response

Get Module

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Responses
chevron-right
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}
200

Successful response

Delete Module

delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Responses
chevron-right
200

Successful response

application/json
delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}
200

Successful response

Patch Module

patch
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}

Updates a module.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
labelstringOptional
descriptionstringOptional
connectionstringOptional
Responses
chevron-right
200

Successful response

application/json
patch
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/api

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
or
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/api
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/epoch

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
urlstring · min: 1 · max: 512Optional

Request URL

encodeUrlbooleanOptional

This directive controls the encoding of URLs. It is on by default, so if you have any special characters in your URL, they will be automatically encoded. But there might be situations where you don't want your URL to be encoded automatically, or you want to control what parts of the URL are encoded. To do this, set this flag to false.

Default: true
methodany ofOptional
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
stringOptionalPattern: ^.*[{][{].*[}][}].*$
castring · max: 8192Optional

Custom Certificate Authority

bodyany ofOptional

Request body

objectOptional
or
or
booleanOptional
or
integerOptional
or
string | nullableOptional
or
numberOptional
or
stringOptional
typeany ofOptional
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
string · enumOptionalPossible values:
or
stringOptionalPattern: ^.*[{][{].*[}][}].*$
conditionany ofOptionalDefault: true
booleanOptional
or
stringOptional
or
gzipbooleanOptional

Add an Accept-Encoding header to request compressed content encodings from the server (if not already present) and decode supported content encodings in the response.

Default: false
followRedirectsbooleanOptional

This directive specifies whether to follow GET HTTP 3xx responses as redirects or never.

Default: true
followAllRedirectsbooleanOptional

This directive specifies whether to follow non-GET HTTP 3xx responses as redirects or never.

Default: true
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/epoch
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/interface

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
or
stringOptional
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/interface
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/parameters

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
or
stringOptional
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/parameters
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/samples

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
Other propertiesanyOptional
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/samples
200

Successful response

Set Module Section

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/scope

Available sections: api, epoch, parameters, expect, interface, samples, scope

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Bodystring[]
string[]Optional
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/scope
200

Successful response

Get Module Section

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleSection}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
SDK_moduleSectionstring · enumRequiredPossible values:
Responses
chevron-right
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleSection}
200

Successful response

Set Module Visibility

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleVisibility}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
SDK_moduleVisibilitystring · enumRequiredPossible values:
Body
Responses
chevron-right
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleVisibility}
200

Successful response

Clone Module

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/clone

Creates a duplicate of a module.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
newNamestringOptional
labelstringOptional
Responses
chevron-right
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/clone
200

Successful response

Set Module Deprecation

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleDeprecation}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
SDK_moduleDeprecationstring · enumRequiredPossible values:
Body
Responses
chevron-right
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleDeprecation}
200

Successful response

Set Module Consumable

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleConsumable}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_moduleNamestringRequired
Body
centicreditsFormulastringOptional
centicreditsFormulaDescriptionstringOptional
centicreditsFormulaDocumentationUrlstringOptional
centicreditsFormulaMetastringOptional
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/modules/{SDK_moduleName}/{SDK_moduleConsumable}
200

Successful response

Last updated