# Update integration as primary (/api-reference/integrations/update-integration-as-primary)

Update an integration as **primary** by its unique key identifier **integrationId**. 
    This API will set the integration as primary for that channel in the current environment. 
    Primary integration is used to deliver notification for sms and email channels in the workflow.

{/* This file was generated by scripts\/generate-docs.mjs. Do not edit this file directly. Regenerate with pnpm run build:docs. */}

<APIPage document={"content/openapi/novu-spec.json"} operations={[{"path":"/v1/integrations/{integrationId}/set-primary","method":"post"}]} webhooks={[]} hasHead={false} />
