Codemagic
codemagicCodemagic is a CI/CD platform focused on mobile app development.
Acciones disponibles (23)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add Application from Private RepositoryCODEMAGIC_ADD_APPLICATION_FROM_PRIVATE_REPOAcciónTool to create an application from a private repository using SSH key authentication. Use when you need to add a new private repository to Codemagic with SSH credentials.
CODEMAGIC_ADD_APPLICATION_FROM_PRIVATE_REPOAcciónTool to create an application from a private repository using SSH key authentication. Use when you need to add a new private repository to Codemagic with SSH credentials.
Parámetros de entrada
sshKeyobjectObligatorioSSH key credentials required to access the private repository.
teamIdstringTeam ID for direct app addition to a team. Requires admin privileges for the specified team.
projectTypestringSpecify 'flutter-app' when adding Flutter applications. Omit for other project types.
repositoryUrlstringObligatorioSSH or HTTPS URL for cloning the private repository. For SSH URLs, use format: git@github.com:org/repo.git
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Add New ApplicationCODEMAGIC_ADD_NEW_APPLICATIONAcciónTool to add a Git repository to the applications list in Codemagic. Use when you need to add a new application to Codemagic from a repository URL.
CODEMAGIC_ADD_NEW_APPLICATIONAcciónTool to add a Git repository to the applications list in Codemagic. Use when you need to add a new application to Codemagic from a repository URL.
Parámetros de entrada
teamIdstringTeam ID, if you wish to add an app directly to one of your teams. You must be an admin in the team specified.
repositoryUrlstringObligatorioSSH or HTTPS URL for cloning the repository.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Meta InformationCODEMAGIC_API_V3_META_GET_METAAcciónTool to get metadata about Codemagic including public IP addresses in use (in CIDR notation). Use when you need to retrieve IP blocks for whitelisting build machines or simulator network requests.
CODEMAGIC_API_V3_META_GET_METAAcciónTool to get metadata about Codemagic including public IP addresses in use (in CIDR notation). Use when you need to retrieve IP blocks for whitelisting build machines or simulator network requests.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioMetadata about Codemagic including public IP addresses.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Variable Group InformationCODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_GET_GROUPAcciónTool to retrieve information about a specific variable group including its name and configuration settings. Use when you need to get details for a variable group by its ID.
CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_GET_GROUPAcciónTool to retrieve information about a specific variable group including its name and configuration settings. Use when you need to get details for a variable group by its ID.
Parámetros de entrada
variable_group_idstringObligatorioThe unique identifier for the variable group in MongoDB ObjectId format.
Parámetros de salida
dataobjectObligatorioVariable group information including name and security settings.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Variable GroupCODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_UPDATE_GROUPAcciónTool to change a variable group's name and security settings. Use when you need to update an existing variable group by its ID. Returns success confirmation on 204 No Content response.
CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_UPDATE_GROUPAcciónTool to change a variable group's name and security settings. Use when you need to update an existing variable group by its ID. Returns success confirmation on 204 No Content response.
Parámetros de entrada
namestringThe new name for the variable group.
advanced_securityobjectAdvanced security configuration for a variable group.
variable_group_idstringObligatorioThe unique identifier for the variable group in MongoDB ObjectId format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete All Application CachesCODEMAGIC_DELETE_ALL_APPLICATION_CACHESAcciónTool to delete all caches for a specific application. Use when clearing all cached data for an app. The deletion process is asynchronous and will complete after the API response is returned.
CODEMAGIC_DELETE_ALL_APPLICATION_CACHESAcciónTool to delete all caches for a specific application. Use when clearing all cached data for an app. The deletion process is asynchronous and will complete after the API response is returned.
Parámetros de entrada
idstringObligatorioThe application identifier
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Specific CacheCODEMAGIC_DELETE_SPECIFIC_CACHEAcciónTool to delete a specific cache from an application. Use when a cached build artifact needs to be removed. The deletion is performed asynchronously and returns immediately with a 202 Accepted status.
CODEMAGIC_DELETE_SPECIFIC_CACHEAcciónTool to delete a specific cache from an application. Use when a cached build artifact needs to be removed. The deletion is performed asynchronously and returns immediately with a 202 Accepted status.
Parámetros de entrada
app_idstringObligatorioThe application identifier
cache_idstringObligatorioThe cache identifier to delete
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account Info for Over-the-Air UpdatesCODEMAGIC_GET_ACCOUNT_INFOAcciónTool to retrieve account information for over-the-air updates. Use when you need to check the account status (enabled/disabled/pending) and associated team identifier.
CODEMAGIC_GET_ACCOUNT_INFOAcciónTool to retrieve account information for over-the-air updates. Use when you need to check the account status (enabled/disabled/pending) and associated team identifier.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioAccount information for over-the-air updates
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get All BuildsCODEMAGIC_GET_ALL_BUILDSAcciónTool to list all builds with optional filters for appId, workflowId, and branch. Use when you need to retrieve build history or search for specific builds. Supports pagination via the skip parameter.
CODEMAGIC_GET_ALL_BUILDSAcciónTool to list all builds with optional filters for appId, workflowId, and branch. Use when you need to retrieve build history or search for specific builds. Supports pagination via the skip parameter.
Parámetros de entrada
skipintegerPagination offset for skipping results
app_idstringFilter builds by application ID
branchstringFilter builds by git branch name
workflow_idstringFilter builds by workflow ID. May return null for YAML-based workflows.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get API KeyCODEMAGIC_GET_API_KEYAcciónTool to retrieve the API key for the authenticated user. Use when you need to fetch the API key associated with the current authentication token.
CODEMAGIC_GET_API_KEYAcciónTool to retrieve the API key for the authenticated user. Use when you need to fetch the API key associated with the current authentication token.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Authenticated UserCODEMAGIC_GET_USERAcciónTool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.
CODEMAGIC_GET_USERAcciónTool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Variable Groups for AppCODEMAGIC_GET_VARIABLE_GROUPSAcciónTool to retrieve paginated list of variable groups for an application. Use when you need to list or browse variable groups associated with a specific app.
CODEMAGIC_GET_VARIABLE_GROUPSAcciónTool to retrieve paginated list of variable groups for an application. Use when you need to list or browse variable groups associated with a specific app.
Parámetros de entrada
pageintegerThe page number of the results to fetch. Minimum: 1, Default: 1.
app_idstringObligatorioThe unique identifier for the application.
page_sizeintegerThe maximum number of results per page. Range: 1-100, Default: 30.
Parámetros de salida
dataobject[]ObligatorioArray of variable group objects.
errorstringError if any occurred during the execution of the action
page_sizeintegerObligatorioResults per page (max 100, min 1, default 30).
successfulbooleanObligatorioWhether or not the action execution was successful or not
total_pagesintegerObligatorioTotal available pages.
current_pageintegerObligatorioCurrent page number (min 1, default 1).
List Variables for GroupCODEMAGIC_GET_VARIABLESAcciónTool to retrieve paginated list of variables for a specific variable group. Use when you need to list or browse environment variables within a variable group.
CODEMAGIC_GET_VARIABLESAcciónTool to retrieve paginated list of variables for a specific variable group. Use when you need to list or browse environment variables within a variable group.
Parámetros de entrada
pageintegerThe page number of the results to fetch. Minimum: 1, Default: 1.
searchstringSearch query to filter variables.
page_sizeintegerThe maximum number of results per page. Range: 1-100, Default: 30.
variable_group_idstringObligatorioThe identifier for the variable group.
Parámetros de salida
dataobject[]ObligatorioArray of environment variable objects.
errorstringError if any occurred during the execution of the action
page_sizeintegerObligatorioNumber of items per page.
successfulbooleanObligatorioWhether or not the action execution was successful or not
total_pagesintegerObligatorioTotal number of pages available.
current_pageintegerObligatorioCurrent page number.
Invite Team MemberCODEMAGIC_INVITE_TEAM_MEMBERAcciónTool to invite a new team member to a Codemagic team. Use when you need to grant team access to a user. Requires team admin privileges. The 'developer' role corresponds to Member role and 'owner' role corresponds to Admin role in Codemagic UI.
CODEMAGIC_INVITE_TEAM_MEMBERAcciónTool to invite a new team member to a Codemagic team. Use when you need to grant team access to a user. Requires team admin privileges. The 'developer' role corresponds to Member role and 'owner' role corresponds to Admin role in Codemagic UI.
Parámetros de entrada
rolestringObligatorioenumThe role to assign to the invited user. 'developer' corresponds to Member role in UI, 'owner' corresponds to Admin role in UI
developerowneremailstringObligatorioThe email address of the user to invite
team_idstringObligatorioThe unique identifier of the team to invite the member to
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Team AppsCODEMAGIC_LIST_TEAM_APPSAcciónTool to list all apps for a specific team in Codemagic. Use when you need to browse or retrieve team application information. Supports pagination via page and page_size parameters.
CODEMAGIC_LIST_TEAM_APPSAcciónTool to list all apps for a specific team in Codemagic. Use when you need to browse or retrieve team application information. Supports pagination via page and page_size parameters.
Parámetros de entrada
pageintegerThe page number of the results to fetch. Default: 1, Minimum: 1
team_idstringObligatorioThe identifier for the team.
page_sizeintegerThe maximum number of results per page. Default: 30, Range: 1-100
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Receive WebhookCODEMAGIC_RECEIVE_WEBHOOKAcciónTool to receive webhook payloads from Git providers to trigger builds automatically. Use when repository events (commits, pull requests, tags) need to trigger Codemagic builds programmatically.
CODEMAGIC_RECEIVE_WEBHOOKAcciónTool to receive webhook payloads from Git providers to trigger builds automatically. Use when repository events (commits, pull requests, tags) need to trigger Codemagic builds programmatically.
Parámetros de entrada
refstringObligatorioGit reference (branch or tag) that triggered the webhook. Format: refs/heads/{branch} or refs/tags/{tag}
app_idstringObligatorioThe application identifier for which to trigger the webhook. Found in the Codemagic browser URL after 'app/' when viewing your application.
pusherobjectObligatorioInformation about the user who triggered the webhook
repositoryobjectObligatorioRepository information containing the clone URL
additional_payloadobjectAdditional webhook payload data from the Git provider. This can contain provider-specific fields like commits, pull_request, etc.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Remove Team MemberCODEMAGIC_REMOVE_TEAM_MEMBERAcciónTool to remove a collaborator from a Codemagic team. Use when you need to revoke team access for a specific user. The removal is performed asynchronously and returns immediately with a 202 Accepted status.
CODEMAGIC_REMOVE_TEAM_MEMBERAcciónTool to remove a collaborator from a Codemagic team. Use when you need to revoke team access for a specific user. The removal is performed asynchronously and returns immediately with a 202 Accepted status.
Parámetros de entrada
team_idstringObligatorioThe unique identifier of the team
user_idstringObligatorioThe unique identifier of the user/collaborator to be removed
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve All ApplicationsCODEMAGIC_RETRIEVE_ALL_APPLICATIONSAcciónTool to retrieve all applications added to Codemagic. Use when you need to list or browse all applications in the Codemagic account.
CODEMAGIC_RETRIEVE_ALL_APPLICATIONSAcciónTool to retrieve all applications added to Codemagic. Use when you need to list or browse all applications in the Codemagic account.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve an ApplicationCODEMAGIC_RETRIEVE_AN_APPLICATIONAcciónTool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.
CODEMAGIC_RETRIEVE_AN_APPLICATIONAcciónTool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.
Parámetros de entrada
idstringObligatorioThe unique identifier for the application.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve Caches for ApplicationCODEMAGIC_RETRIEVE_CACHES_FOR_APPLICATIONAcciónTool to retrieve a list of caches for a specific application. Use when you need to view cached data, check cache sizes, or manage application storage.
CODEMAGIC_RETRIEVE_CACHES_FOR_APPLICATIONAcciónTool to retrieve a list of caches for a specific application. Use when you need to view cached data, check cache sizes, or manage application storage.
Parámetros de entrada
idstringObligatorioThe application identifier - unique ID of the application whose caches you want to retrieve
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start New BuildCODEMAGIC_START_NEW_BUILDAcciónTool to start a new build for an application with specified workflow and branch or tag. Use when you need to trigger a build programmatically. Either branch or tag parameter must be provided.
CODEMAGIC_START_NEW_BUILDAcciónTool to start a new build for an application with specified workflow and branch or tag. Use when you need to trigger a build programmatically. Either branch or tag parameter must be provided.
Parámetros de entrada
tagstringGit tag name to build. Either branch or tag must be provided.
app_idstringObligatorioThe application identifier
branchstringGit branch name to build. Either branch or tag must be provided.
labelsstring[]Additional labels to attach to the build
environmentobjectOverrides for environment variables, variable groups, and software versions
workflow_idstringObligatorioThe workflow identifier as specified in the YAML file
instance_typestringMachine type for build execution
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Stop PreviewCODEMAGIC_STOP_PREVIEWAcciónTool to stop an app preview. Use when you need to stop a running app preview by its identifier.
CODEMAGIC_STOP_PREVIEWAcciónTool to stop an app preview. Use when you need to stop a running app preview by its identifier.
Parámetros de entrada
preview_idstringObligatorioThe preview identifier to stop
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Variable in GroupCODEMAGIC_UPDATE_VARIABLEAcciónTool to update an existing variable within a specified variable group in Codemagic. Use when you need to modify a variable's name, value, or secure status.
CODEMAGIC_UPDATE_VARIABLEAcciónTool to update an existing variable within a specified variable group in Codemagic. Use when you need to modify a variable's name, value, or secure status.
Parámetros de entrada
namestringThe variable's name. Provide this if you want to update the variable name.
valuestringThe variable's value. Provide this if you want to update the variable value.
securebooleanWhether the variable should be treated as secure (encrypted). Provide this if you want to change the secure status.
variable_idstringObligatorioThe identifier for the variable to be updated.
variable_group_idstringObligatorioThe identifier for the variable group containing the variable.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not